mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
Добавлен хук MetrostroiDecoupled при расцепе поездов
This commit is contained in:
@@ -962,6 +962,7 @@ function ENT:OnDecouple(isfront)
|
|||||||
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