forked from akanyan/mu3-mods
fix(BetterGiveUp): bring back the led reset
This commit is contained in:
19
Enhancements/BetterGiveUp/MU3.Game/patch_GameLED.cs
Normal file
19
Enhancements/BetterGiveUp/MU3.Game/patch_GameLED.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using MonoMod;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MU3.Game;
|
||||
|
||||
class patch_GameLED: GameLED {
|
||||
|
||||
[MonoModIgnore]
|
||||
private class ButtonList: List<object>;
|
||||
|
||||
[MonoModIgnore]
|
||||
private ButtonList _buttonList;
|
||||
|
||||
public extern void orig_initialize();
|
||||
public new void initialize() {
|
||||
_buttonList.Clear();
|
||||
orig_initialize();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user