Created
July 16, 2012 22:33
-
-
Save legumbre/3125507 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Modified src/RingRun/src/common/rr_runner.lua | |
diff --git a/src/RingRun/src/common/rr_runner.lua b/src/RingRun/src/common/rr_runner.lua | |
index e0b32ad..0a48d9f 100644 | |
--- a/src/RingRun/src/common/rr_runner.lua | |
+++ b/src/RingRun/src/common/rr_runner.lua | |
@@ -926,9 +926,13 @@ function Runner:switch_in_started(time, step) | |
else | |
klog.debug("Boost conditions weren't met.") | |
end | |
+ | |
+ if isa(self, Player) then | |
self.boost_charge= 0 -- in any case, after switch_in we lose the charge... | |
self.can_charge_boost= false -- ...until the next switch out cycle starts | |
+ end | |
+ | |
end | |
function Runner:max_outside_reached(time, step) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment