Skip to content

Fix GetGameText native giving incorrect/corrupt values - #915

Merged
AmyrAhmady merged 2 commits into
openmultiplayer:masterfrom
Sreyas-Sreelal:getGameTextFix
Apr 15, 2024
Merged

AmyrAhmady merged 2 commits into
openmultiplayer:masterfrom
Sreyas-Sreelal:getGameTextFix

Conversation

@Sreyas-Sreelal

Copy link
Copy Markdown
Contributor
  • native GetGameText was giving incorrect values, the last two parameters of this native (time and remaining) wasn't passed as reference so the value were not updated.
  • The message value was getting deallocated in the PlayerFixesData::gameText as it was creating an unnecessary local copy

This PR fixes these problems.

@AmyrAhmady
AmyrAhmady merged commit 85527ad into openmultiplayer:master Apr 15, 2024
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.

3 participants