Skip to content

Commit

Permalink
[CSM] HUD Fix not updating server HUDs caused by 4f688d5
Browse files Browse the repository at this point in the history
  • Loading branch information
SmallJoker committed Jan 26, 2018
1 parent 4f688d5 commit 7d3295e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 7d3295e

Please sign in to comment.