Skip to content

fix: Player getters getting called correctly for player scope changes#14

Merged
thelindat merged 1 commit into
overextended:mainfrom
jag3dagster:fix-player-scope-call
Jul 28, 2022
Merged

fix: Player getters getting called correctly for player scope changes#14
thelindat merged 1 commit into
overextended:mainfrom
jag3dagster:fix-player-scope-call

Conversation

@jag3dagster

Copy link
Copy Markdown
Member
  • Found this issue with Entered and Left scope events where getting the inScope table was failing to self.source being nil
    • While investigating that issue, I also realized that playerData never got removed after a player logged out or left the server
      • While figuring out where to nil out playerData entries, I realized that the ox:playerLogout event trigger was attempting to get values from an incorrect object

* Found this issue with Entered and Left scope events where getting the inScope table was failing to self.source being nil
    * While investigating that issue, I also realized that playerData never got removed after a player logged out or left the server
        * While figuring out where to nil out playerData entries, I realized that the ox:playerLogout event trigger was attempting to get values from an incorrect object
@thelindat thelindat merged commit 4e4e6cd into overextended:main Jul 28, 2022
@jag3dagster jag3dagster deleted the fix-player-scope-call branch July 28, 2022 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants