Update cursor handling and reset functionality, improve UI elements. Reset game state cursor when needed.
This commit is contained in:
parent
6e6a231300
commit
4b5ac48e10
6 changed files with 33 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue