Skip to content

Commit

Permalink
Localize IsValid for rotor logic
Browse files Browse the repository at this point in the history
  • Loading branch information
StyledStrike committed Dec 28, 2024
1 parent 8f28f41 commit df66a91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/entities/base_glide_aircraft/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ function ENT:OnPostThink( dt, selfTbl )
self:RotorsThink()
end

local IsValid = IsValid

function ENT:RotorsThink()
local power = self:GetPower()

Expand Down

0 comments on commit df66a91

Please sign in to comment.