Adding attribute to world object to indicate whether world is a copy

This commit is contained in:
codemann8
2022-08-01 19:42:54 -05:00
parent 7fecbee3bb
commit 8a5a092522
3 changed files with 10 additions and 8 deletions

View File

@@ -557,6 +557,7 @@ def copy_world(world, partial_copy=False):
if partial_copy:
# undo some of the things that unintentionally affect the original world object
world.key_logic = {}
ret.is_copied_world = True
return ret