mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-27 07:27:12 +00:00
revert extra flxtrail function
This commit is contained in:
parent
e978f5df76
commit
58508755f9
2
hmm.json
2
hmm.json
|
@ -25,7 +25,7 @@
|
||||||
"name": "flixel-addons",
|
"name": "flixel-addons",
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"dir": null,
|
"dir": null,
|
||||||
"ref": "e7789a32cf068eaa0abcaebc8dc07f6cf8f0632c",
|
"ref": "7424db4e9164ff46f224a7c47de1b732d2542dd7",
|
||||||
"url": "https://github.com/FunkinCrew/flixel-addons"
|
"url": "https://github.com/FunkinCrew/flixel-addons"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -26,7 +26,7 @@ class FunkTrail extends FlxTrail
|
||||||
super(Target, Graphic, Length, Delay, Alpha, Diff);
|
super(Target, Graphic, Length, Delay, Alpha, Diff);
|
||||||
}
|
}
|
||||||
|
|
||||||
override public function updateTrail():Void
|
override public function update(elapsed:Float):Void
|
||||||
{
|
{
|
||||||
if (target is Bopper)
|
if (target is Bopper)
|
||||||
{
|
{
|
||||||
|
@ -35,6 +35,6 @@ class FunkTrail extends FlxTrail
|
||||||
(targ.animOffsets[1] - targ.globalOffsets[1]) * targ.scale.y);
|
(targ.animOffsets[1] - targ.globalOffsets[1]) * targ.scale.y);
|
||||||
}
|
}
|
||||||
|
|
||||||
super.updateTrail();
|
super.update(elapsed);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue