From 2594704febf29edc6480352d10a645774edfb9ca Mon Sep 17 00:00:00 2001 From: ackimixs Date: Wed, 15 May 2024 11:50:34 +0200 Subject: [PATCH] send game mode --- GameControllerHandler.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/GameControllerHandler.h b/GameControllerHandler.h index 132efa1..508f730 100644 --- a/GameControllerHandler.h +++ b/GameControllerHandler.h @@ -44,6 +44,10 @@ public: std::cerr << "Erreur lors de l'activation de la vibration : " << SDL_GetError() << std::endl; } } + + if (tokens[2] == "ready") { + this->sendMessage("gc;all;game mode;gc\n"); + } } }