fixed tracing bug and brake-time bug

This commit is contained in:
Stephan Richter
2021-02-16 09:16:54 +01:00
parent 8ab3b6d1a0
commit 80553efb29
4 changed files with 15 additions and 15 deletions

View File

@@ -86,6 +86,7 @@ public class Contact extends Tile{
Route route = route();
Context context = isSet(route) ? route.context().contact(this) : new Context(this);
if (isSet(route)) route.traceTrainFrom(this);
actions.fire(context);
if (isSet(route)) route.contact(this);