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:
sigonasr2 2022-06-09 17:07:17 -05:00
parent 7762489fe6
commit 96160bd35c
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -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));
} }