Added more functionality to advanceOneFrame

This commit is contained in:
Ishaan Bhardwaj 2020-11-30 12:34:21 -05:00
parent 5590e6c89b
commit 10f032b49b

View File

@ -96,7 +96,7 @@ function GameMode:update(inputs, ruleset)
if self.completed then return end if self.completed then return end
-- advance one frame -- advance one frame
if self:advanceOneFrame(inputs) == false then return end if self:advanceOneFrame(inputs, ruleset) == false then return end
self:chargeDAS(inputs, self:getDasLimit(), self.getARR()) self:chargeDAS(inputs, self:getDasLimit(), self.getARR())