Misc bugfixes

This commit is contained in:
Anuken
2025-04-05 10:48:07 -04:00
parent 519e9ba3e1
commit 95e663d1df
3 changed files with 10 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ abstract class TankComp implements Posc, Hitboxc, Unitc, ElevationMovec{
solids ++;
}
if(t.floor().isDeep()){
if(t != null && t.floor().isDeep()){
lastDeepFloor = t.floor();
}else{
anyNonDeep = true;