Add event flags
This commit is contained in:
@@ -61,7 +61,11 @@ func _on_Battle_pressed():
|
||||
print("Battle pressed")
|
||||
|
||||
func _on_Event_pressed():
|
||||
print("Event pressed")
|
||||
close()
|
||||
if UI.EVENT_FLAG_MENU.isOpen():
|
||||
UI.EVENT_FLAG_MENU.close()
|
||||
else:
|
||||
UI.EVENT_FLAG_MENU.open()
|
||||
|
||||
func _on_Inventory_pressed():
|
||||
close()
|
||||
|
Reference in New Issue
Block a user