mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
* 81-717. Убраны засветы подсветки, если у клиента не включены тени * Global change. Фикс названия переменной в конфиге лампочки * 81-718. Убраны засветы от лампочек кнопок, если у клиента не включены тени
This commit is contained in:
@@ -427,7 +427,7 @@ function Metrostroi.GenerateClientProps()
|
||||
self.Lights[lname] = { "headlight",
|
||||
Metrostroi.PositionFromPanel(id,config.pos or buttons.ID,(config.z or 0.2)+(lconfig.z or 0.2)+(lconfig.lz or 0.2),(config.x or 0)+(lconfig.x or 0)+(lconfig.lx or 0),(config.y or 0)+(lconfig.y or 0)+(lconfig.ly or 0)),
|
||||
Metrostroi.AngleFromPanel(id,lconfig.lang or lconfig.ang or config.ang)+Angle(90,0,0),
|
||||
lconfig.lcolor,farz = lconfig.lfarz or 8,nearz = lconfig.lnearz or 1,shadows = lconfig.lshadows or 1,brightness = lconfig.lbright or 1,fov = lconfig.lfov,texture=lconfig.ltex or "effects/flashlight/soft",panellight=true,
|
||||
lconfig.lcolor,farz = lconfig.lfar or 8,nearz = lconfig.lnear or 1,shadows = lconfig.lshadows or 1,brightness = lconfig.lbright or 1,fov = lconfig.lfov,texture=lconfig.ltex or "effects/flashlight/soft",panellight=true,
|
||||
hidden = lname,
|
||||
}
|
||||
--[[self.ClientProps[lname.."TEST"] = {
|
||||
|
||||
Reference in New Issue
Block a user