Commit be511fb3 authored by moonbase420's avatar moonbase420

possible fix for server not always closing on exit

parent 592845d9
......@@ -332,6 +332,10 @@ public class IAGame extends Game {
}
public void killSingleplayer(){
if(serverController != null) {
serverController.stopServer();
serverController = null;
}
if(server != null){
server.destroyForcibly();
server.destroy();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment