mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
* Global change. Замена всех устаревших функции на аналогичные * Global change. Добавил локальные переменные там, где это было рентабельно.
This commit is contained in:
@@ -383,7 +383,7 @@ end
|
||||
-- Make sure entity is not drawn
|
||||
--------------------------------------------------------------------------------
|
||||
function ENT:Draw()
|
||||
if GetConVarNumber("metrostroi_drawsignaldebug") ~= 1 then return end
|
||||
if GetConVar("metrostroi_drawsignaldebug"):GetInt() ~= 1 then return end
|
||||
local platformStart = self:GetNW2Vector("PlatformStart",false)
|
||||
local platformEnd = self:GetNW2Vector("PlatformEnd",false)
|
||||
|
||||
|
||||
@@ -140,7 +140,7 @@ function ENT:Initialize()
|
||||
end
|
||||
|
||||
function ENT:OnRemove()
|
||||
timer.Destroy("metrostroi_station_announce_"..self:EntIndex())
|
||||
timer.Remove("metrostroi_station_announce_"..self:EntIndex())
|
||||
end
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user