1
0
mirror of https://github.com/metrostroi-repo/MetrostroiAddon.git synced 2026-05-02 00:42:29 +00:00

Добавлен хук MetrostroiDecoupled при расцепе поездов

This commit is contained in:
kosmik641
2025-12-20 16:42:47 +03:00
parent 5d6dd0cdd6
commit 8035db4327

View File

@@ -962,6 +962,7 @@ function ENT:OnDecouple(isfront)
self.RearCoupledBogey = nil
end
hook.Run("MetrostroiDecoupled",self)
self:OnConnectDisconnect()
if self.OnDecoupled then self:OnDecoupled() end
--[[GRAVHULL