diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-03-15 11:36:09 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-03-15 11:36:09 +0100 |
commit | 7fa774241545756035bdf3de148865797fc1e1a5 (patch) | |
tree | 86161641295d4dde3a1693ab500a214d83a79113 | |
parent | 69003943c7a1107317395e23384633691b9be801 (diff) |
proto/ft: show game name only if game connected
-rw-r--r-- | proto-ft/ftnoir_protocol_ft.cpp | 2 |
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, ""); |