mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Skipping serialization/deserialization of needless Programmable clones.
This commit is contained in:
parent
0431f70954
commit
f2adb7ec7f
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ module.exports = class God extends CocoClass
|
|||
userCodeMap = {}
|
||||
for spellKey, spell of spells
|
||||
for thangID, spellThang of spell.thangs
|
||||
continue if spellThang.thang.programmableMethods[spell.name].cloneOf
|
||||
(userCodeMap[thangID] ?= {})[spell.name] = spellThang.aether.serialize()
|
||||
userCodeMap
|
||||
|
||||
|
|
Loading…
Reference in a new issue