fix last commit
This commit is contained in:
@@ -450,6 +450,7 @@
|
||||
(when superText (FlxG.state.remove superText true)))
|
||||
|
||||
(savedVar :Float soundVolume 1.0)
|
||||
(savedVar :Float masterVolume 1.0)
|
||||
|
||||
(prop :Array<FlxSound> currentSounds [])
|
||||
(prop :Map<FlxSound,Array<Float>> currentSoundVolumes (new Map))
|
||||
@@ -560,7 +561,7 @@
|
||||
(-= prop.y (- propBottom FlxG.height)))))
|
||||
// Otherwise, let the director scale props
|
||||
(true
|
||||
(let [propKey prop.graphic.assetsKey
|
||||
(let [propKey (_propKey prop)
|
||||
:Float scale .value (flxMovie.propScales.get propKey)]
|
||||
(unless (flxMovie.propsInScene.exists flxMovie.sceneKey)
|
||||
(dictSet flxMovie.propsInScene flxMovie.sceneKey []))
|
||||
|
@@ -144,6 +144,7 @@
|
||||
|
||||
(preload
|
||||
(set FlxDirector.anonProps 0)
|
||||
(set FlxG.sound.volume FlxDirector.masterVolume)
|
||||
(unless uiCamera
|
||||
(set uiCamera (new flixel.FlxCamera))
|
||||
(set uiCamera.bgColor FlxColor.TRANSPARENT)
|
||||
|
Reference in New Issue
Block a user