Fixed absolutely nothing
This commit is contained in:
@@ -52,6 +52,8 @@ public class NetClient extends Module {
|
||||
Vars.ui.hideLoading();
|
||||
});
|
||||
|
||||
GameState.set(State.menu);
|
||||
|
||||
Vars.ui.showError("$text.disconnect");
|
||||
connecting = false;
|
||||
});
|
||||
|
||||
@@ -60,8 +60,7 @@ public class NetServer extends Module{
|
||||
|
||||
Player player = new Player();
|
||||
player.clientid = packet.id;
|
||||
player.set(Vars.player.x, Vars.player.y);
|
||||
player.placerot = Vars.player.placerot;
|
||||
player.set(Vars.control.core.worldx(), Vars.control.core.worldy() - Vars.tilesize*2);
|
||||
player.add();
|
||||
connections.put(packet.id, player);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user