Various tweaks

This commit is contained in:
Anuken
2020-05-26 12:59:05 -04:00
parent c1d4a4851f
commit a7c7295893
13 changed files with 688 additions and 607 deletions

View File

@@ -549,7 +549,7 @@ public class NetServer implements ApplicationListener{
connection.viewHeight = viewHeight;
//disable shooting when a mech flies
if(!player.dead() && player.unit().isFlying() && !player.unit().type().flying){
if(!player.dead() && player.unit().isFlying() && player.unit() instanceof Mechc){
shooting = false;
}