mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
fix scores not saving for gem hunt
This commit is contained in:
parent
05ae02b2f5
commit
5e8964c440
1 changed files with 5 additions and 0 deletions
|
|
@ -421,6 +421,11 @@ class HuntMode extends NullMode {
|
||||||
level.cancel(@:privateAccess level.oobSchedule);
|
level.cancel(@:privateAccess level.oobSchedule);
|
||||||
level.cancel(@:privateAccess level.oobSchedule2);
|
level.cancel(@:privateAccess level.oobSchedule2);
|
||||||
if (!level.isWatching) {
|
if (!level.isWatching) {
|
||||||
|
var myScore = {
|
||||||
|
name: "Player",
|
||||||
|
time: getFinishScore()
|
||||||
|
};
|
||||||
|
Settings.saveScore(level.path, myScore, getScoreType());
|
||||||
var notifies = AchievementsGui.check();
|
var notifies = AchievementsGui.check();
|
||||||
var delay = 5.0;
|
var delay = 5.0;
|
||||||
var achDelay = 0.0;
|
var achDelay = 0.0;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue