fix(PlatinumTiming): reset

This commit is contained in:
あかニャン 2024-07-22 01:02:19 +09:00
parent 381d888da6
commit 7f5cd6d0d7

View File

@ -2,8 +2,8 @@
namespace MU3.Battle;
class patch_Counters: Counters {
public int PlatinumFastCount { get; private set; }
public int PlatinumLateCount { get; private set; }
public int PlatinumFastCount { get; private set; } = 0;
public int PlatinumLateCount { get; private set; } = 0;
public extern void orig_addPlatinumScore(Judge judge, Timing timing);
public new void addPlatinumScore(Judge judge, Timing timing) {
orig_addPlatinumScore(judge, timing);
@ -16,4 +16,11 @@ class patch_Counters: Counters {
}
}
}
public extern void orig_reset();
public new void reset() {
orig_reset();
PlatinumFastCount = 0;
PlatinumLateCount = 0;
}
}