Delay setting of low detail mode

To not change low detail flag before sounds are loaded, delay it to be
set only when arriving at login screen to not end up with corrupted
sound data.

Fixes: #696

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
Tomas Slusny
2018-05-18 17:30:52 +02:00
parent 75674cfd55
commit fd3e568c81

View File

@@ -41,12 +41,6 @@ public class LowMemoryPlugin extends Plugin
@Inject
private Client client;
@Override
protected void startUp() throws Exception
{
client.changeMemoryMode(true);
}
@Override
protected void shutDown() throws Exception
{