about summary refs log tree commit diff stats
path: root/data/maps/the_double_sided/rooms/Obverse Black Area.txtpb
blob: ece57899e36c9bc09c49d3568cbcd3b56021269f (generated by cgit-pink 1.4.1 (git 2.36.1) at 2025-10-09 01:26:31 +0000
> reload(): # Just rewriting this whole thing so I can remove Chris's safeguard. var file = FileAccess.open(path + type + ".save", FileAccess.READ) if file: var data = file.get_var(true) file.close() for datum in data: var saveable = get_node_or_null(datum[0]) if saveable != null: saveable.is_complete = datum[1] if saveable.is_complete: saveable.loadData(saveable.is_complete)