v3.3.5: added two more rooms for tester vault enemies to appear in

v3.3.5: fixed an exploit where quitting would cancel fury partway
This commit is contained in:
Evan Debenham
2026-02-04 17:39:12 -05:00
parent 73ce3a9dab
commit cd7ed99ac0
5 changed files with 161 additions and 3 deletions

View File

@@ -256,7 +256,18 @@ public class Random {
public synchronized static<T> void shuffle( List<?extends T> list){
Collections.shuffle(list, generators.peek());
}
public static void shuffle( int[] array ) {
for (int i=0; i < array.length - 1; i++) {
int j = Int( i, array.length );
if (j != i) {
int t = array[i];
array[i] = array[j];
array[j] = t;
}
}
}
public static<T> void shuffle( T[] array ) {
for (int i=0; i < array.length - 1; i++) {
int j = Int( i, array.length );