lowmemory: refresh scene when toggling plugin

Closes open-osrs/plugins#286
This commit is contained in:
ThatGamerBlue
2020-05-31 17:44:27 +01:00
committed by GitHub
parent d87d7484d4
commit 1bb18cd18b

View File

@@ -881,6 +881,10 @@ public abstract class RSClientMixin implements RSClient
setSceneLowMemory(lowMemory);
setAudioHighMemory(true);
setObjectDefinitionLowDetail(lowMemory);
if (getGameState() == GameState.LOGGED_IN)
{
setGameState(GameState.LOADING);
}
}
@Inject