mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
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:
1 parent
558f2388fc
commit
85eb58948d
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
|
||||
|
||||
Reference in new issue
Block a user