update buildmanager

This commit is contained in:
Nikolai Fesenko
2025-08-15 22:30:48 +02:00
parent 5c71f036af
commit 888ef9d1d9
9 changed files with 62 additions and 10 deletions

View File

@@ -23,7 +23,7 @@ func _input_event(camera: Camera3D, event: InputEvent, event_position: Vector3,
func _mouse_enter() -> void:
if !is_placed and Global.build_mode:
if !is_placed and Global.build_mode and BuildManager.is_object_selected:
show_preview()
func _mouse_exit() -> void: