Fix entrypoint crashes
This commit is contained in:
parent
65a7f5ca8e
commit
e104adfc0f
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
||||||
"contributors": [ "Contributors" ],
|
"contributors": [ "Contributors" ],
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"entrypoint": "entrypoint.gd",
|
"entrypoint": "entrypoint.gd",
|
||||||
"slides": 5,
|
"slides": 1,
|
||||||
"animations": false,
|
"animations": false,
|
||||||
"display_end_text_after_last_slide": true
|
"display_end_text_after_last_slide": true
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,4 +19,4 @@ func switch_to_slide(new_slide: int) -> void:
|
||||||
api.remove_all_slides()
|
api.remove_all_slides()
|
||||||
|
|
||||||
# Add new slide
|
# Add new slide
|
||||||
sms.add_scene("slide", resources["slide_" + str(new_slide)], CoreTypes.SceneType.MAIN)
|
sms.add_scene("slide", resources["slide_" + str(new_slide)].duplicate(), CoreTypes.SceneType.MAIN)
|
||||||
|
|
Loading…
Reference in a new issue