mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 10:56:53 -05:00
Level now uses the universal wizard thang type.
This commit is contained in:
parent
0d054bec8e
commit
c5521a1311
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,6 @@ module.exports = class Level extends CocoModel
|
|||
else if path is '/'
|
||||
# We also we need to make sure we grab the Wizard ThangType and the Marks. Hackitrooooid!
|
||||
for [type, original] in [
|
||||
["Wizard", "52a00d55cf1818f2be00000b"]
|
||||
["Highlight", "529f8fdbdacd325127000003"]
|
||||
["Selection", "52aa5f7520fccb0000000002"]
|
||||
["Target", "52b32ad97385ec3d03000001"]
|
||||
|
@ -126,4 +125,5 @@ module.exports = class Level extends CocoModel
|
|||
link = "/db/thang_type/#{original}/version"
|
||||
model = CocoModel.getOrMakeModelFromLink link, shouldLoadProjection
|
||||
models.push model if model
|
||||
models.push ThangType.loadUniversalWizard()
|
||||
models
|
||||
|
|
Loading…
Reference in a new issue