mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 17:09:19 +02:00
securitysystem workaround
This commit is contained in:
@@ -120,6 +120,9 @@ void TSecuritySystem::update(double dt, double vel, bool pwr) {
|
||||
if (!pwr)
|
||||
power = false;
|
||||
|
||||
if (!enabled)
|
||||
power = pwr;
|
||||
|
||||
if (!enabled || !pwr) {
|
||||
cabsignal_active = false;
|
||||
vigilance_timer = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user