This commit is contained in:
Stephan Richter
2020-11-14 14:13:08 +01:00
parent cba99c16f7
commit 4e68383b8d
2 changed files with 2 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.srsoftware</groupId>
<artifactId>web4rail</artifactId>
<version>0.11.23</version>
<version>0.11.24</version>
<name>Web4Rail</name>
<packaging>jar</packaging>
<description>Java Model Railway Control</description>

View File

@@ -93,6 +93,7 @@ public abstract class Block extends StretchableTile implements Comparable<Block>
public WaitTime setMax(Direction dir,int max) {
get(dir).max = max;
if (get(dir).min > max) setMin(dir,max);
return this;
}