From dc337079eee490be94f613759decc5c0194a9e8f Mon Sep 17 00:00:00 2001 From: pennyrigate Date: Mon, 13 Mar 2023 00:51:35 -0400 Subject: [PATCH] pressing f no longer goes fullscreen during cheat input --- autoloads/options.gd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/autoloads/options.gd b/autoloads/options.gd index 5c2d789..b0e43c8 100644 --- a/autoloads/options.gd +++ b/autoloads/options.gd @@ -28,8 +28,9 @@ func _ready(): load_options() func _unhandled_input(event): - if event.is_action_pressed("fullscreen"): - _set_fullscreen(!fullscreen) + if Debug.entry == false: + if event.is_action_pressed("fullscreen"): + _set_fullscreen(!fullscreen) func load_options(): var file = ConfigFile.new()