mirror of
https://github.com/JohnBreaux/Boat-Battle.git
synced 2025-02-04 12:28:35 +00:00
Fixed Dialog Box that pops up for Confirm Placement
This commit is contained in:
@@ -23,6 +23,8 @@ func _on_Confirm_Placement_pressed():
|
||||
if get_node(ship).validate_placement():
|
||||
valid = false
|
||||
print ("Placement: ", valid)
|
||||
if valid == false:
|
||||
get_node("AcceptDialog").popup()
|
||||
return valid # Replace with function body.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user