fix overlays not spawning in with tracking

This commit is contained in:
Crispy 2021-06-05 00:07:41 +02:00
parent 670df66b38
commit cf2b82b5fb
2 changed files with 3 additions and 1 deletions

View file

@ -80,7 +80,8 @@ func load_settings():
update_offset()
if loaded.has("visible"):
set_overlay_visible(loaded.visible)
save_settings()
else:
save_settings()
func save_settings():

View file

@ -35,6 +35,7 @@ func add_overlay(type, name):
instance.overlay_scene = scene
instance.type = type
add_child(instance)
instance.update_offset()
emit_signal("added_overlay", name)