We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e2d74c commit 6701405Copy full SHA for 6701405
preload/scripts/stages/props/TankmanSpriteGroup.hxc
@@ -3,6 +3,7 @@ import flixel.FlxSprite;
3
import flixel.group.FlxTypedSpriteGroup;
4
import flixel.util.FlxSort;
5
import funkin.Conductor;
6
+import funkin.FunkinMemory;
7
import funkin.modding.base.ScriptedFunkinSprite;
8
import funkin.play.PlayState;
9
import Lambda;
@@ -25,6 +26,9 @@ class TankmanSpriteGroup extends FlxTypedSpriteGroup
25
26
27
this.isErect = (erect != null) ? erect : false;
28
trace('Initializing TankmanSpriteGroup... ' + (this.isErect ? ' (erect)' : ' (base)'));
29
+
30
+ // Precache the Tankman sprite.
31
+ FunkinMemory.cacheTexture(Paths.image('tankmanKilled1', 'week7'));
32
}
33
34
public function isValid():Bool
0 commit comments