Merge branch 'master' of ssh://git.sjkillen.ca:2222/sjkillen/everything_has_a_price_jam

This commit is contained in:
Spencer Killen 2026-09-27 14:50:21 -06:00
commit 6fae54b78d
Signed by: sjkillen
GPG key ID: 1DAA9D8D7C6ADD05

View file

@ -40,8 +40,11 @@ func _unhandled_input(event: InputEvent):
zoom.y = 1
else:
zoom.y -= 1
if UserContext.modal_command is MoveCommand and event.button_index == MOUSE_BUTTON_LEFT and UserContext.selected_member != null:
var loc = get_global_mouse_position()
var node := Node2D.new()
node.name = "targetNode"
node.top_level = true
node.position = loc
self.add_child(node)
UserContext.select_point(node)