summaryrefslogtreecommitdiffhomepage
path: root/proto-ft
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-03-15 11:36:09 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-03-15 11:36:09 +0100
commit7fa774241545756035bdf3de148865797fc1e1a5 (patch)
tree86161641295d4dde3a1693ab500a214d83a79113 /proto-ft
parent69003943c7a1107317395e23384633691b9be801 (diff)
proto/ft: show game name only if game connected
Diffstat (limited to 'proto-ft')
-rw-r--r--proto-ft/ftnoir_protocol_ft.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.cpp b/proto-ft/ftnoir_protocol_ft.cpp
index 593fdaa9..1c3dcafe 100644
--- a/proto-ft/ftnoir_protocol_ft.cpp
+++ b/proto-ft/ftnoir_protocol_ft.cpp
@@ -114,7 +114,7 @@ void freetrack::pose(const double* headpose)
(void)CSV::getGameData(id, t.table, gamename);
- if (gamename.isEmpty())
+ if (gamename.isEmpty() && id > 0)
gamename = _("Unknown game");
static_assert(sizeof(LONG) == 4, "");