Fix: Improvements to UI
This commit is contained in:
@@ -32,7 +32,7 @@ public class ClientLauncherGUI extends Application {
|
||||
// Connessione in un thread separato — non bloccare il JavaFX thread!
|
||||
new Thread(() -> {
|
||||
if (networkType == 0) {
|
||||
RMIClient client = new RMIClient(controller, ip, 1099);
|
||||
RMIClient client = new RMIClient(controller, ip, 1099, "localhost");
|
||||
if (client.connect(nome, numPlayer)) {
|
||||
controller.setClient(client);
|
||||
// Da qui in poi il server chiamerà onGameInit → render()
|
||||
|
||||
Reference in New Issue
Block a user