Skip to content

Fix: Correctly restore ScriptEngine's condition team#380

Open
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/script-engine-condition-team-restore
Open

Fix: Correctly restore ScriptEngine's condition team#380
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/script-engine-condition-team-restore

Conversation

@seer-by-sentry
Copy link

Fixes CLIENT-3ZQ. The issue was that: ScriptEngine passes floating-point value 1.0f (0x3f800000) as string pointer to AsciiString constructor, causing access violation.

  • Uncommented the saving of 'm_conditionTeam' to 'pSavConditionTeam' before script execution.
  • Ensured 'm_conditionTeam' is properly restored to its saved state ('pSavConditionTeam') after script execution, instead of assigning it to itself.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 11552432

Not quite right? Click here to continue debugging with Seer.

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.

0 participants