Make sure the replay is stopped if the main menu is opened (fixes #95)

This commit is contained in:
Jonas Herzig
2018-01-16 16:14:03 +01:00
parent d7368d8c87
commit 22e4ce4584
2 changed files with 20 additions and 0 deletions

View File

@@ -195,6 +195,10 @@ public class ReplayModReplay {
replayHandler = new ReplayHandler(replayFile, true);
}
public void forcefullyStopReplay() {
replayHandler = null;
}
public ReplayMod getCore() {
return core;
}