Skip to content

Commit

Permalink
hotfix: set singletons correctly when reloading a scene
Browse files Browse the repository at this point in the history
  • Loading branch information
jabsatz committed Jun 26, 2021
1 parent b0e0059 commit afb1af8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions addons/scene_manager/SceneManager.gd
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ func _replace_scene(path):
if path == null:
# if no path, assume we want a reload
_tree.reload_current_scene()
_set_singleton_entities()
emit_signal("scene_loaded")
return
_current_scene.free()
Expand Down
2 changes: 1 addition & 1 deletion addons/scene_manager/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
name="Scene Manager"
description="Scene Manager"
author="GlassBrick"
version="0.3"
version="0.3.1"
script="SceneManagerPlugin.gd"

0 comments on commit afb1af8

Please sign in to comment.