mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-24 22:49:03 -06:00
Compare commits
No commits in common. "7c3cf0b1bd0368a1994d38a432b981c45435beb4" and "5f81c35677c9ceda72ae1e567ffeeab46bbf23cb" have entirely different histories.
7c3cf0b1bd
...
5f81c35677
@ -179,9 +179,6 @@ function GameMode:update(inputs, ruleset)
|
|||||||
if self.game_over or self.completed then
|
if self.game_over or self.completed then
|
||||||
if self.save_replay and self.game_over_frames == 0 then
|
if self.save_replay and self.game_over_frames == 0 then
|
||||||
self:saveReplay()
|
self:saveReplay()
|
||||||
|
|
||||||
-- ensure replays are only saved once per game, incase self.game_over_frames == 0 for longer than one frame
|
|
||||||
self.save_replay = false
|
|
||||||
end
|
end
|
||||||
self.game_over_frames = self.game_over_frames + 1
|
self.game_over_frames = self.game_over_frames + 1
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user