Remove garbage collection running as it seems to have a negative impact
Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com> Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
7762489fe6
commit
96160bd35c
BIN
maps/world1.map
BIN
maps/world1.map
Binary file not shown.
@ -163,11 +163,11 @@ public class RabiClone{
|
|||||||
player=null;
|
player=null;
|
||||||
level_renderer=null;
|
level_renderer=null;
|
||||||
control_settings_menu=null;
|
control_settings_menu=null;
|
||||||
System.gc();
|
//System.gc();
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void StartGame() {
|
private static void StartGame() {
|
||||||
System.gc();
|
//System.gc();
|
||||||
OBJ.add(player = new Player(p));
|
OBJ.add(player = new Player(p));
|
||||||
OBJ.add(new Erinoah(p));
|
OBJ.add(new Erinoah(p));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user