Fix tbtr refit button crashing if new template window is empty.
This commit is contained in:
@@ -244,7 +244,9 @@ public:
|
||||
break;
|
||||
}
|
||||
case TCW_REFIT: {
|
||||
if (virtual_train != NULL) {
|
||||
ShowVehicleRefitWindow(virtual_train, INVALID_VEH_ORDER_ID, this, false, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user