forked from team-sg/hero-mark-2
make debug save only exist in debug and not count for continue button
This commit is contained in:
parent
bfbc0dfd2b
commit
74fd1ec4f2
2 changed files with 10 additions and 6 deletions
|
@ -6,8 +6,7 @@ func _ready():
|
|||
Fade.fade_in(Options.transition_speed_secs)
|
||||
#Grey out continue if no save files
|
||||
yield(get_tree(),"idle_frame")
|
||||
print(Save.current_file)
|
||||
if Save.current_file:
|
||||
if Save.current_file and not Save.current_file.debug:
|
||||
$Panel/Continue.grab_focus()
|
||||
else:
|
||||
$Panel/Body/GreyedContinue.visible = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue