Skip to content

Commit

Permalink
dont call the autoplay broke
Browse files Browse the repository at this point in the history
  • Loading branch information
liqMix committed Jun 29, 2024
1 parent 665606b commit 481a4c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/game/gamebuild.go
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,9 @@ func (s *GameStateBuild) TryPlaceRoom(g *Game) PlaceResult {
return PlaceResultTake
} else {
if g.gold-GetRoomCost(s.placingRoom.kind, s.placingRoom.size, s.nextStory.level) < 0 {
g.ui.feedback.Msg(FeedbackBad, "ur broke lol")
if !g.autoplay {
g.ui.feedback.Msg(FeedbackBad, "ur broke lol")
}
return PlaceResultBroke
} else {
room := NewRoom(s.placingRoom.size, s.placingRoom.kind, s.placingRoom.required)
Expand Down

0 comments on commit 481a4c3

Please sign in to comment.