mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
don't submit replays for customs
This commit is contained in:
parent
611ac6cebd
commit
570c7355eb
1 changed files with 2 additions and 2 deletions
|
|
@ -428,7 +428,7 @@ class EndGameGui extends GuiControl {
|
||||||
lbPath = 'custom/${mission.id}';
|
lbPath = 'custom/${mission.id}';
|
||||||
var replayData = MarbleGame.instance.world.replay.write();
|
var replayData = MarbleGame.instance.world.replay.write();
|
||||||
Leaderboards.submitScore(lbPath, myScore.time, MarbleGame.instance.world.rewindUsed, (sendReplay, rowId) -> {
|
Leaderboards.submitScore(lbPath, myScore.time, MarbleGame.instance.world.rewindUsed, (sendReplay, rowId) -> {
|
||||||
if (sendReplay) {
|
if (sendReplay && !mission.isClaMission) {
|
||||||
Leaderboards.submitReplay(rowId, replayData);
|
Leaderboards.submitReplay(rowId, replayData);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
@ -452,7 +452,7 @@ class EndGameGui extends GuiControl {
|
||||||
}
|
}
|
||||||
if (!hasMyScore) {
|
if (!hasMyScore) {
|
||||||
Leaderboards.submitScore(lbPath, timeState.gameplayClock, MarbleGame.instance.world.rewindUsed, (sendReplay, rowId) -> {
|
Leaderboards.submitScore(lbPath, timeState.gameplayClock, MarbleGame.instance.world.rewindUsed, (sendReplay, rowId) -> {
|
||||||
if (sendReplay) {
|
if (sendReplay && !mission.isClaMission) {
|
||||||
Leaderboards.submitReplay(rowId, replayData);
|
Leaderboards.submitReplay(rowId, replayData);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue