fixed bucket tool not having an action

This commit is contained in:
cobrapitz 2020-11-10 01:01:07 +01:00
parent 8a8d776e3e
commit baf1caeb28
1 changed files with 2 additions and 0 deletions

View File

@ -136,6 +136,8 @@ func _input(event):
Tools.BUCKET:
if event.button_index == BUTTON_LEFT:
if event.pressed:
if _current_action == null:
_current_action = get_action()
do_action([cell_mouse_position, last_cell_mouse_position, selected_color])
Tools.COLORPICKER: