splishy splashy
This commit is contained in:
+1
-2
@@ -14,7 +14,6 @@ var mouse_mode = 2
|
||||
|
||||
func _ready():
|
||||
Input.set_mouse_mode(mouse_mode)
|
||||
add_collision_exception_with($"../Room/Doorframe/Door")
|
||||
|
||||
func _input(event):
|
||||
if !won:
|
||||
@@ -52,7 +51,7 @@ func _physics_process(delta):
|
||||
if $"../WorldEnvironment".environment.background_energy_multiplier > 10.0:
|
||||
get_tree().quit()
|
||||
|
||||
func _on_flash_light_input_event(camera, event, position, normal, shape_idx):
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user