mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
Добавлен хук MetrostroiDecoupled при расцепе поездов
This commit is contained in:
@@ -961,7 +961,8 @@ function ENT:OnDecouple(isfront)
|
|||||||
else
|
else
|
||||||
self.RearCoupledBogey = nil
|
self.RearCoupledBogey = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
hook.Run("MetrostroiDecoupled",self)
|
||||||
self:OnConnectDisconnect()
|
self:OnConnectDisconnect()
|
||||||
if self.OnDecoupled then self:OnDecoupled() end
|
if self.OnDecoupled then self:OnDecoupled() end
|
||||||
--[[GRAVHULL
|
--[[GRAVHULL
|
||||||
|
|||||||
Reference in New Issue
Block a user