sonicretro / SonLVL

SonLVL
http://info.sonicretro.org/SonLVL
58 stars 27 forks source link

Deep copy is often partly shallow #47

Open WaferMouse opened 6 years ago

WaferMouse commented 6 years ago

After the update to fix deep copy for 2P mode, deep copy seems to be making somewhat shallow copies in 1P and 2P modes. Some blocks/tiles get a fresh copy, but others reference the original assets. The behaviour isn't random, but I haven't been able to figure out the rules it's following.

MainMemory commented 6 years ago

Seems like I did that intentionally. If you think it would be better for the blocks/tiles to always be given fresh copies, then I can remove the duplicate checks.