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:
@@ -1012,7 +1012,7 @@ ENT.Spawner = {
|
||||
ent[v]:TriggerInput("Set",val and 1 or 0)
|
||||
end
|
||||
end,function(CB,VGUI)
|
||||
VGUI.SwitchesR:SetDisabled(not CB:GetChecked())
|
||||
VGUI.SwitchesR:SetEnabled(CB:GetChecked())
|
||||
if not CB:GetChecked() then
|
||||
VGUI.SwitchesR:SetValue(false)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user