mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-01-02 21:32:17 +00:00
don't submit replays for customs
This commit is contained in:
parent
c031914d50
commit
ca027dbcfb
1 changed files with 2 additions and 2 deletions
|
|
@ -429,7 +429,7 @@ class EndGameGui extends GuiControl {
|
|||
lbPath = 'custom/${mission.id}';
|
||||
var replayData = MarbleGame.instance.world.replay.write();
|
||||
Leaderboards.submitScore(lbPath, myScore.time, MarbleGame.instance.world.rewindUsed, (sendReplay, rowId) -> {
|
||||
if (sendReplay) {
|
||||
if (sendReplay && !mission.isClaMission) {
|
||||
Leaderboards.submitReplay(rowId, replayData);
|
||||
}
|
||||
});
|
||||
|
|
@ -453,7 +453,7 @@ class EndGameGui extends GuiControl {
|
|||
}
|
||||
if (!hasMyScore) {
|
||||
Leaderboards.submitScore(lbPath, timeState.gameplayClock, MarbleGame.instance.world.rewindUsed, (sendReplay, rowId) -> {
|
||||
if (sendReplay) {
|
||||
if (sendReplay && !mission.isClaMission) {
|
||||
Leaderboards.submitReplay(rowId, replayData);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue