pressing f no longer goes fullscreen during cheat input

This commit is contained in:
pennyrigate 2023-03-13 00:51:35 -04:00
parent 67997de4a6
commit dc337079ee

View file

@ -28,8 +28,9 @@ func _ready():
load_options() load_options()
func _unhandled_input(event): func _unhandled_input(event):
if event.is_action_pressed("fullscreen"): if Debug.entry == false:
_set_fullscreen(!fullscreen) if event.is_action_pressed("fullscreen"):
_set_fullscreen(!fullscreen)
func load_options(): func load_options():
var file = ConfigFile.new() var file = ConfigFile.new()