mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 03:09:18 +02:00
build 200406. power relay cab indicators logic tweak, cab update logic tweak, compartment lights logic tweak, automatic coupling crash workaround, pantograph power draw fix
This commit is contained in:
@@ -26,6 +26,7 @@ http://mozilla.org/MPL/2.0/.
|
||||
#include "scene.h"
|
||||
#include "Train.h"
|
||||
#include "application.h"
|
||||
#include "Logs.h"
|
||||
|
||||
namespace simulation {
|
||||
|
||||
@@ -267,6 +268,10 @@ void state_manager::process_commands() {
|
||||
else {
|
||||
delete train;
|
||||
train = nullptr;
|
||||
if( targetvehicle->name() == Global.local_start_vehicle ) {
|
||||
ErrorLog( "Failed to initialize player train, \"" + Global.local_start_vehicle + "\"" );
|
||||
Global.local_start_vehicle = "ghostview";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user