From 7d3295e21f96495cb0b3e2f732939344ce892e2a Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Fri, 26 Jan 2018 21:27:30 +0100 Subject: [PATCH] [CSM] HUD Fix not updating server HUDs caused by 4f688d5 --- src/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game.cpp b/src/game.cpp index b8d86be47..416b097fb 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -2562,7 +2562,7 @@ void Game::handleClientEvent_HandleParticleEvent(ClientEvent *event, void Game::handleClientEvent_HudAdd(ClientEvent *event, CameraOrientation *cam) { LocalPlayer *player = client->getEnv().getLocalPlayer(); - auto hud_server_to_client = client->getHUDTranslationMap(); + auto &hud_server_to_client = client->getHUDTranslationMap(); u32 server_id = event->hudadd.server_id; // ignore if we already have a HUD with that ID -- 2.25.1