Skip to content

Conversation

@samisalreadytaken
Copy link

Fixes a regression in hook calls. This was caused by putting CanRunInScope(), which looks up the hook function, behind an assertion inside ScriptHook_t::Call(), so this would only work in debug builds. This was only an issue in weapon_custom_scripted because this is the only place hook functions are manually cached. Quite messy...


PR Checklist

  • My PR follows all guidelines in the CONTRIBUTING.md file
  • My PR targets a develop branch OR targets another branch with a specific goal in mind

@Blixibon Blixibon merged commit f8d8cf6 into mapbase-source:develop Feb 4, 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.

2 participants