Player State reset / Improved messages / Round end time

This commit is contained in:
Anuken
2018-08-21 17:23:17 -04:00
parent 3aedc07ad0
commit b745d88299
3 changed files with 43 additions and 23 deletions

View File

@@ -151,7 +151,7 @@ public class NetClient extends Module{
@Remote(variants = Variant.both)
public static void onInfoMessage(String message){
threads.runGraphics(() -> ui.showInfo(message));
threads.runGraphics(() -> ui.showText("", message));
}
@Remote(variants = Variant.both)

View File

@@ -664,7 +664,7 @@ public class Player extends Unit implements BuilderTrait, CarryTrait, ShooterTra
dead = true;
trail.clear();
health = maxHealth();
mech = (mobile ? Mechs.starterMobile : Mechs.starterDesktop);
mech = (isMobile ? Mechs.starterMobile : Mechs.starterDesktop);
placeQueue.clear();
add();