fix multi login

This commit is contained in:
2025-02-02 23:13:28 +01:00
parent 2595af2d48
commit 08ed9b46b1

View File

@@ -44,7 +44,7 @@ public class MultiMenu extends BaseView {
ImGui.inputText("Pseudo", pseudo);
if (ImGui.button("Rejoindre")) {
try {
this.stateMachine.pushState(new ConnexionStatusView(stateMachine, address.get(), (short) port.get()));
this.stateMachine.pushState(new ConnexionStatusView(stateMachine, pseudo.get(), address.get(), (short) port.get()));
} catch (IOException e) {
e.printStackTrace();
}