When the window is closed during loading, exit the game quickly (#3858)

This commit is contained in:
mezz authored and LexManos committed 2017-05-01 17:14:55 -07:00
1 parent 91cc592a3a
commit e4d04afd95
5 files changed
+25

No files matched your search

@@ -637,6 +637,12 @@ public class FMLClientHandler implements IFMLSidedHandler
return loading;
}
@Override
public boolean isDisplayCloseRequested()
{
return Display.isCreated() && Display.isCloseRequested();
}
@Override
public boolean shouldServerShouldBeKilledQuietly()
{