mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-07-06 08:18:41 +07:00
Added and disabled map disposing due to bug with multiple instances
This commit is contained in:
@ -766,6 +766,7 @@ public class GameScreen extends ScreenAdapter implements LoadingScreen.Loadable
|
||||
|
||||
@Override
|
||||
public void dispose() {
|
||||
//map.dispose(); // FIXME: additional instances aren't reloading textures properly
|
||||
charData.clearListeners();
|
||||
engine.removeAllEntities();
|
||||
engine.removeAllSystems();
|
||||
|
Reference in New Issue
Block a user