Update cursor handling and reset functionality, improve UI elements. Reset game state cursor when needed.

This commit is contained in:
Dan 2024-05-12 09:39:02 +01:00
parent 6e6a231300
commit 4b5ac48e10
6 changed files with 33 additions and 4 deletions

View file

@ -91,7 +91,8 @@ func place_drone(drone_type : String) -> void:
spawning_type = drone_type
func cancel_spawning() -> void:
Input.set_custom_mouse_cursor(null)
#Input.set_custom_mouse_cursor(null)
GameState.reset_cursor()
drone_controls.reset_button_focus()
drone_controls.enable_buttons()
spawning_drone = false