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:
@@ -637,7 +637,7 @@ hook.Add("PostDrawOpaqueRenderables", "metrostroi-draw-stopmarker",function()
|
||||
prevTime = RealTime()
|
||||
|
||||
-- Skip if disabled
|
||||
if GetConVarNumber("metrostroi_stop_helper") ~= 1 then return end
|
||||
if GetConVar("metrostroi_stop_helper"):GetInt() ~= 1 then return end
|
||||
|
||||
-- Get train
|
||||
local train = LocalPlayer().InMetrostroiTrain
|
||||
|
||||
Reference in New Issue
Block a user