Fixing painting index bug
This commit is contained in:
parent
0f09ea3165
commit
9adb11deee
2 changed files with 5 additions and 2 deletions
|
|
@ -102,8 +102,10 @@ func destroy_painting():
|
|||
if get_painting_display().damage_deal():
|
||||
cancel_bidding()
|
||||
get_painting_display().move_painting_to_pile(%PaintingPileDiscard)
|
||||
next_painting()
|
||||
turn_manager.speak_sentence("Oh nooooooo! Took too long!\nTry to make it up on the next painting!")
|
||||
if not next_painting():
|
||||
end_auction()
|
||||
else:
|
||||
turn_manager.speak_sentence("Oh nooooooo! Took too long!\nTry to make it up on the next painting!")
|
||||
else:
|
||||
turn_manager.restart_turn()
|
||||
turn_manager.speak_sentence("Oops! Took too long! Quickly, try again!")
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ grow_vertical = 2
|
|||
script = ExtResource("1_fj7yv")
|
||||
|
||||
[node name="CursorManager" parent="." instance=ExtResource("2_tlwt5")]
|
||||
layout_mode = 0
|
||||
|
||||
[node name="MainMenu" parent="." instance=ExtResource("1_f3sb7")]
|
||||
layout_mode = 1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue