fix: Ensure escoria#apply_settings only called in game not editor (#543)
Co-authored-by: balloonpopper <5151242+balloonpopper@users.noreply.github.com> Co-authored-by: Julian Murgia <the.straton@gmail.com>
This commit is contained in:
@@ -179,6 +179,7 @@ func new_game():
|
||||
#
|
||||
# * p_settings: Loaded settings
|
||||
func apply_settings(p_settings: ESCSaveSettings) -> void:
|
||||
if not Engine.is_editor_hint():
|
||||
logger.info("******* settings loaded")
|
||||
if p_settings != null:
|
||||
settings = p_settings
|
||||
|
||||
Reference in New Issue
Block a user