mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
Fix bugs #91,#79,#38,#72 (#216)
* Update metrostroi.lua Исправил ошибку #91 * Фикс #79 * #38 * #72 Пока-что временное решение * Update metrostroi.lua * Перенёс SquealType на сам номер в TrainSpawnerUpdate * Update cl_init.lua
This commit is contained in:
@@ -247,9 +247,9 @@ function ENT:Initialize()
|
||||
self.Lamps = {
|
||||
broken = {},
|
||||
}
|
||||
local rand = math.random() > 0.8 and 1 or math.random(0.95,0.99)
|
||||
local rand = math.random() > 0.95 and 1 or math.random(0.95,0.99)
|
||||
for i = 1,12 do
|
||||
if math.random() > rand then self.Lamps.broken[i] = math.random() > 0.5 end
|
||||
if math.random() > rand then self.Lamps.broken[i] = math.random() > 0.7 end
|
||||
end
|
||||
|
||||
self:SetNW2Int("Type",self:GetNW2Int("Type",3))
|
||||
|
||||
Reference in New Issue
Block a user