diff --git a/src/gui/EndGameGui.hx b/src/gui/EndGameGui.hx index 90452720..45933cda 100644 --- a/src/gui/EndGameGui.hx +++ b/src/gui/EndGameGui.hx @@ -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); } });