diff --git a/lua/entities/gmod_wire_speedometer.lua b/lua/entities/gmod_wire_speedometer.lua index 346d79a819..9898f3f276 100644 --- a/lua/entities/gmod_wire_speedometer.lua +++ b/lua/entities/gmod_wire_speedometer.lua @@ -56,7 +56,7 @@ function ENT:Think() end function ENT:PrepareOverlayData() - if self:GetXYZMode() then + if self.XYZMode then local velocity = self:GetVelocity() velocity:Add(self:GetPos())