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:
@@ -535,9 +535,11 @@ function ENT:TrainSpawnerUpdate()
|
||||
|
||||
local pneumoPow = 0.8+(math.random()^1.55)*0.4
|
||||
if IsValid(self.FrontBogey) then
|
||||
self.FrontBogey:SetNW2Int("SquealType",math.floor(math.random(4,7)))
|
||||
self.FrontBogey.PneumaticPow = pneumoPow
|
||||
end
|
||||
if IsValid(self.RearBogey) then
|
||||
self.RearBogey:SetNW2Int("SquealType",math.floor(math.random(4,7)))
|
||||
self.RearBogey.PneumaticPow = pneumoPow
|
||||
end
|
||||
self.Pneumatic.VDLoud = math.random()<0.06 and 0.9+math.random()*0.2
|
||||
|
||||
Reference in New Issue
Block a user