make sure entities get update on rename
This commit is contained in:
parent
d91b2fb5fc
commit
9e280b60f7
|
@ -137,6 +137,7 @@ func rename_room(old_room: String, new_name: String):
|
||||||
if store_room != null:
|
if store_room != null:
|
||||||
store_room.name = new_name
|
store_room.name = new_name
|
||||||
|
|
||||||
|
save_all_entities()
|
||||||
Store.house.save_local()
|
Store.house.save_local()
|
||||||
|
|
||||||
func get_level(level: int):
|
func get_level(level: int):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user