From e210d9c08e2fd73b1bc122c0f5162fab5eb0a2b3 Mon Sep 17 00:00:00 2001 From: Anuken Date: Tue, 3 Jul 2018 12:29:14 -0400 Subject: [PATCH] Fixed server verifying mobile player positions --- core/src/io/anuke/mindustry/core/NetServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/io/anuke/mindustry/core/NetServer.java b/core/src/io/anuke/mindustry/core/NetServer.java index d4b684e624..c15e2649e7 100644 --- a/core/src/io/anuke/mindustry/core/NetServer.java +++ b/core/src/io/anuke/mindustry/core/NetServer.java @@ -169,7 +169,7 @@ public class NetServer extends Module{ NetConnection connection = Net.getConnection(id); if(player == null || connection == null || packet.snapid < connection.lastRecievedClientSnapshot) return; - boolean verifyPosition = !player.isDead() && !debug && headless; + boolean verifyPosition = !player.isDead() && !debug && headless && !player.isMobile; if(connection.lastRecievedClientTime == 0) connection.lastRecievedClientTime = TimeUtils.millis() - 16;