Skip to content

Commit

Permalink
fix player staying in query list after info change in disconnect event
Browse files Browse the repository at this point in the history
  • Loading branch information
AmyrAhmady committed Oct 11, 2024
1 parent 737985d commit 944c2d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/Components/LegacyNetwork/legacy_network_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ void RakNetLegacyNetwork::init(ICore* c)

core->getEventDispatcher().addEventHandler(this);
core->getPlayers().getPlayerChangeDispatcher().addEventHandler(this);
core->getPlayers().getPlayerConnectDispatcher().addEventHandler(this);
core->getPlayers().getPlayerConnectDispatcher().addEventHandler(this, EventPriority_Lowest);
}

void RakNetLegacyNetwork::start()
Expand Down

0 comments on commit 944c2d5

Please sign in to comment.