Browse Source

Removing unnecessary instancing

pull/18/head
Ryan Reed 1 month ago
parent
commit
9df29f9f92
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      addons/save_load_system/autoloads/save_game_manager.gd

+ 0
- 1
addons/save_load_system/autoloads/save_game_manager.gd View File

@ -140,7 +140,6 @@ func _load_game_resource(resource_filename: String) -> void:
load_error.emit("Failed to load save. File does not exist: %s" % save_game_file_path)
return
_loaded_save_resource = SaveGameDataResource.new()
_loaded_save_resource = ResourceLoader.load(save_game_file_path)
if _loaded_save_resource == null:
load_error.emit("Failed to load save. Unknown format? %s" % save_game_file_path)


Loading…
Cancel
Save