mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-11-29 15:56:06 +00:00
re-add debug_refreshModules?
This commit is contained in:
parent
da4e77bf44
commit
97ea4b0891
|
|
@ -125,6 +125,16 @@ class MusicBeatState extends FlxTransitionableState implements IEventHandler
|
||||||
ModuleHandler.callEvent(event);
|
ModuleHandler.callEvent(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function debug_refreshModules()
|
||||||
|
{
|
||||||
|
PolymodHandler.forceReloadAssets();
|
||||||
|
|
||||||
|
this.destroy();
|
||||||
|
|
||||||
|
// Create a new instance of the current state, so old data is cleared.
|
||||||
|
FlxG.resetState();
|
||||||
|
}
|
||||||
|
|
||||||
public function stepHit():Bool
|
public function stepHit():Bool
|
||||||
{
|
{
|
||||||
var event = new SongTimeScriptEvent(SONG_STEP_HIT, Conductor.instance.currentBeat, Conductor.instance.currentStep);
|
var event = new SongTimeScriptEvent(SONG_STEP_HIT, Conductor.instance.currentBeat, Conductor.instance.currentStep);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue