diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-09-05 20:02:26 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-09-05 20:02:26 +0100 |
commit | 5158bf31239c07595e1197ca19448ca4bdb26732 (patch) | |
tree | 3d8980c67c45c40be398627a25f8eb4d83cdfd00 | |
parent | 834bb751534ed16ecbbe9d995741a1d32c4d363f (diff) |
change runaway from 3 to 5 seconds
-rw-r--r-- | api.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1390,8 +1390,8 @@ local do_states = function(self, dtime) self.runaway_timer = self.runaway_timer + 1 - -- stop after 3 seconds or when at cliff - if self.runaway_timer > 3 + -- stop after 5 seconds or when at cliff + if self.runaway_timer > 5 or is_at_cliff(self) then self.runaway_timer = 0 set_velocity(self, 0) |