bottle service

This commit is contained in:
2023-02-05 21:29:38 +01:00
parent a0b7737b94
commit 9c156b2f8f
4 changed files with 92 additions and 7 deletions
+1
View File
@@ -56,5 +56,6 @@ func _on_flash_light_input_event(camera, event, position, normal, shape_idx):
if event is InputEventMouseButton and event.is_action_pressed("interact"):
$Pivot/Camera/FlashLight.visible = true
has_flashlight = true
$".."/Gui.message("You can toggle the flashlight with right-mouse", "Flashlight")
if flashlight:
flashlight.visible = false