mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-20 02:09:19 +02:00
disable vigilance systems in debug mode
This commit is contained in:
@@ -123,7 +123,7 @@ void TSecuritySystem::update(double dt, double vel, bool pwr) {
|
||||
if (!enabled)
|
||||
power = pwr;
|
||||
|
||||
if (!enabled || !pwr) {
|
||||
if (!enabled || !pwr || DebugModeFlag) {
|
||||
cabsignal_active = false;
|
||||
vigilance_timer = 0.0;
|
||||
alert_timer = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user