forked from team-sg/hero-mark-2
fix fullscreen buggy :3
This commit is contained in:
parent
7020914046
commit
e85c09a6a4
4 changed files with 15 additions and 17 deletions
|
@ -27,6 +27,10 @@ func _ready():
|
|||
defaults = duplicate()
|
||||
load_options()
|
||||
|
||||
func _unhandled_input(event):
|
||||
if event.is_action_pressed("fullscreen"):
|
||||
_set_fullscreen(!fullscreen)
|
||||
|
||||
func load_options():
|
||||
var file = ConfigFile.new()
|
||||
file.load("user://options.pr")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue