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>
main
sigonasr2 3 years ago
parent 7762489fe6
commit 96160bd35c
  1. BIN
      maps/world1.map
  2. 4
      src/sig/RabiClone.java

Binary file not shown.

@ -163,11 +163,11 @@ public class RabiClone{
player=null;
level_renderer=null;
control_settings_menu=null;
System.gc();
//System.gc();
}
private static void StartGame() {
System.gc();
//System.gc();
OBJ.add(player = new Player(p));
OBJ.add(new Erinoah(p));
}

Loading…
Cancel
Save