forked from traintastic/traintastic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server: TrainVehicleList more strict checks for add/remove
- Do not add vehicle to an active train if it is already in an other active train - When removing vehicle from active train reset activeTrain property - When adding vehicle to active train, set it's activeTrain property
- Loading branch information
Showing
1 changed file
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters