Skip to content

Commit 132c765

Browse files
Fix screensaver
I blame git for this one
1 parent f5db4e9 commit 132c765

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

TitleScreen/TitleScreen.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public override void _Input(InputEvent @event)
3636
GetTree().ChangeSceneToFile( _buttonSceneMap[_gameTurnTable.GetCurrentSelection()]);
3737
}
3838

39-
if (@event is not InputEventJoypadButton or InputEventKey )
39+
if (@event is not InputEventJoypadButton and not InputEventKey )
4040
{
4141
return; // These are the only events that should reset the screensaver. Doing this bc I think the touch screen is causing issues
4242
}

TitleScreen/TitleScreen.tscn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ autostart = true
346346
ignore_time_scale = true
347347

348348
[node name="Screensaver" type="CanvasLayer" parent="."]
349+
visible = false
349350

350351
[node name="ColorRect" type="ColorRect" parent="Screensaver"]
351352
material = SubResource("ShaderMaterial_mhd54")

0 commit comments

Comments
 (0)