lowmemory: refresh scene when toggling plugin
Closes open-osrs/plugins#286
This commit is contained in:
@@ -881,6 +881,10 @@ public abstract class RSClientMixin implements RSClient
|
|||||||
setSceneLowMemory(lowMemory);
|
setSceneLowMemory(lowMemory);
|
||||||
setAudioHighMemory(true);
|
setAudioHighMemory(true);
|
||||||
setObjectDefinitionLowDetail(lowMemory);
|
setObjectDefinitionLowDetail(lowMemory);
|
||||||
|
if (getGameState() == GameState.LOGGED_IN)
|
||||||
|
{
|
||||||
|
setGameState(GameState.LOADING);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
|
|||||||
Reference in New Issue
Block a user