18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-20 23:14:59 +01:00

fix(physicslog): every stop asked wakes the writer, the one from itself too; no psyche for a driver of no vehicle

This commit is contained in:
maj00r
2026-11-16 02:12:01 +01:00
parent 94b7c7f01b
commit 423d49b42c
2 changed files with 21 additions and 16 deletions

View File

@@ -2334,7 +2334,9 @@ TController::TController(bool AI, TDynamicObject *NewControll, bool InitPsyche,
iDrivigFlags |= movePrimary; // aktywnie prowadzące pojazd
}
SetDriverPsyche(); // na końcu, bo wymaga ustawienia zmiennych
if( mvOccupied != nullptr ) {
SetDriverPsyche(); // na końcu, bo wymaga ustawienia zmiennych
}
TableClear();
// the logs of all, begun at once as they always were. one of a train only at its first line (update_logs): every