Skip to content

Commit

Permalink
fix: players not being removed after leaving server
Browse files Browse the repository at this point in the history
  • Loading branch information
TGRHavoc committed Jun 10, 2019
1 parent e1de1d6 commit 81811fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/wrapper.js
Expand Up @@ -38,7 +38,10 @@ const EventsWrapper = (SocketController) => {
onNet("livemap:RemovePlayer", () => {
SocketController.RemovePlayer(GetPlayerIdentifier(source, 0));
});


onNet("playerDropped", () => {
SocketController.RemovePlayer(GetPlayerIdentifier(source, 0));
});

return {};
};
Expand Down

0 comments on commit 81811fb

Please sign in to comment.