16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 00:49:19 +02:00

Fixed shp activation when activating a cabin

This commit is contained in:
Królik Uszasty
2022-07-21 21:12:42 +02:00
committed by Milek7
parent 9caec803e7
commit 7b40fe9a72

View File

@@ -83,6 +83,8 @@ int DirF(int CouplerN)
void TSecuritySystem::set_enabled(bool e) {
if (vigilance_enabled || cabsignal_enabled)
enabled = e;
if (CabDependent)
cabactive = 0;
}
void TSecuritySystem::acknowledge_press() {