We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cc0cbd commit eeacb6dCopy full SHA for eeacb6d
Data/Base.rte/AI/NativeHumanAI.lua
@@ -584,7 +584,7 @@ function NativeHumanAI:Update(Owner)
584
if (not self.jump and Owner.Vel.Y > 18) then
585
self.jump = true;
586
end
587
- if self.jump and Owner.Jetpack.JetTimeLeft > TimerMan.AIDeltaTimeMS then
+ if self.jump and Owner.Jetpack and Owner.Jetpack.JetTimeLeft > TimerMan.AIDeltaTimeMS then
588
if self.jumpState == AHuman.PREJUMP then
589
self.jumpState = AHuman.UPJUMP;
590
elseif self.jumpState ~= AHuman.UPJUMP then -- the jetpack is off
0 commit comments