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