In Level.java the method load is used for the game, the method generate for the editor. As the editor method is copy-pasted and some parts are removed that deal with initialization, the editor generator actually behaves differently and does not track stairs properly than the game generator.
Summary
In
Level.java
the methodload
is used for the game, the methodgenerate
for the editor. As the editor method is copy-pasted and some parts are removed that deal with initialization, the editor generator actually behaves differently and does not track stairs properly than the game generator.