Skip to content

Commit 6701405

Browse files
NotHyper-474KoloInDaCrib
authored andcommitted
totally didn't just steal Kolo's homework here
Co-authored-by: Kolo <[email protected]>
1 parent 8e2d74c commit 6701405

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

preload/scripts/stages/props/TankmanSpriteGroup.hxc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import flixel.FlxSprite;
33
import flixel.group.FlxTypedSpriteGroup;
44
import flixel.util.FlxSort;
55
import funkin.Conductor;
6+
import funkin.FunkinMemory;
67
import funkin.modding.base.ScriptedFunkinSprite;
78
import funkin.play.PlayState;
89
import Lambda;
@@ -25,6 +26,9 @@ class TankmanSpriteGroup extends FlxTypedSpriteGroup
2526

2627
this.isErect = (erect != null) ? erect : false;
2728
trace('Initializing TankmanSpriteGroup... ' + (this.isErect ? ' (erect)' : ' (base)'));
29+
30+
// Precache the Tankman sprite.
31+
FunkinMemory.cacheTexture(Paths.image('tankmanKilled1', 'week7'));
2832
}
2933

3034
public function isValid():Bool

0 commit comments

Comments
 (0)