Skip to content

Commit eeacb6d

Browse files
committed
Fixed small issue
1 parent 0cc0cbd commit eeacb6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data/Base.rte/AI/NativeHumanAI.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ function NativeHumanAI:Update(Owner)
584584
if (not self.jump and Owner.Vel.Y > 18) then
585585
self.jump = true;
586586
end
587-
if self.jump and Owner.Jetpack.JetTimeLeft > TimerMan.AIDeltaTimeMS then
587+
if self.jump and Owner.Jetpack and Owner.Jetpack.JetTimeLeft > TimerMan.AIDeltaTimeMS then
588588
if self.jumpState == AHuman.PREJUMP then
589589
self.jumpState = AHuman.UPJUMP;
590590
elseif self.jumpState ~= AHuman.UPJUMP then -- the jetpack is off

0 commit comments

Comments
 (0)