From 60f282f9cff9082778f7ef86b105882493c666d8 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 5 Apr 2026 23:29:12 -0700
Subject: [PATCH] Make the control status more clear in the lobby
---
game/gameinfo.cpp | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/game/gameinfo.cpp b/game/gameinfo.cpp
index 3e20a3c4..44cd4265 100644
--- a/game/gameinfo.cpp
+++ b/game/gameinfo.cpp
@@ -574,6 +574,14 @@ GameInfo::UpdateUI(GameInfoPlayer *player)
desc = GetGamepadName(2);
} else if (IS_REMOTE_CONTROL(player->controlMask)) {
desc = player->name;
+ } else if (player->controlMask == CONTROL_NETWORK) {
+ if (!GetNodeByID(player->nodeID)) {
+ desc = "Ship available";
+ }
+ } else if (player->controlMask == CONTROL_LOCAL) {
+ desc = "You're locked in!";
+ } else if (player->controlMask == CONTROL_NONE) {
+ desc = "Ship disabled";
}
player->UI.desc->SetText(desc);
}