tweak(player): Altered PLAYER_IS_READY event to emit a bool

This will set the client var to true when NPWD loads a player and false when NPWD unloads a player.
This commit is contained in:
Taso committed 2021-04-18 15:38:50 -04:00
1 parent 268bd4f4a4
commit 949ea4ba4b
3 files changed
+21 -11

No files matched your search

@@ -28,7 +28,7 @@ if (!config.general.enableMultiChar) {
on('playerDropped', () => {
const source = getSource();
// Get identifier for player to remove
handleUnloadPlayerEvent(source);
handleUnloadPlayerEvent(source, true);
});
// Can use this to debug the player table if needed. Disabled by default