diff --git a/src/gui/EndGameGui.hx b/src/gui/EndGameGui.hx index bea77e02..ece62638 100644 --- a/src/gui/EndGameGui.hx +++ b/src/gui/EndGameGui.hx @@ -428,7 +428,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); } }); @@ -452,7 +452,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); } });