fix NAT flixel cpp bug
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
// Also, remove text image files -- now that text sprites
|
||||
// are generated on the fly.
|
||||
(function :Bool upgradeToVersion2 [:nat.Archive archive :nat.Entry e]
|
||||
(when (hasComponent e Images)
|
||||
(if (hasComponent e Images)
|
||||
(let [images1 (readComponent e Images)
|
||||
scale (readComponentOr e Scale 1.0)
|
||||
pIdx images1.pinnedImageIndex
|
||||
@@ -39,4 +39,5 @@
|
||||
(for _ (range (- images1.imageFiles.length 1 pIdx)) 1.0)))
|
||||
pinnedImageIndex pIdx))
|
||||
(removeComponent archive e Scale)
|
||||
true)))
|
||||
true)
|
||||
false))
|
||||
Reference in New Issue
Block a user