From 7fa774241545756035bdf3de148865797fc1e1a5 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 15 Mar 2018 11:36:09 +0100 Subject: proto/ft: show game name only if game connected --- proto-ft/ftnoir_protocol_ft.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto-ft') 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, ""); -- cgit v1.2.3