mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
fix(Core/Scripts): Fix one more typo after scripts refactoring (#18730)
fix(Core/Scripts): Fix one more typo after scripts refactoring.
This commit is contained in:
committed by
GitHub
parent
ec10eb841c
commit
11ac6c70db
@@ -82,7 +82,7 @@ inline bool ReturnValidBool(Optional<bool> ret, bool need = false)
|
||||
#define CALL_ENABLED_BOOLEAN_HOOKS_WITH_DEFAULT_FALSE(scriptType, hookType, action) \
|
||||
if (ScriptRegistry<scriptType>::EnabledHooks[hookType].empty()) \
|
||||
return false; \
|
||||
for (auto const& script : ScriptRegistry<scriptType>::EnabledHooks[hookType]) { if (action) return false; } \
|
||||
for (auto const& script : ScriptRegistry<scriptType>::EnabledHooks[hookType]) { if (action) return true; } \
|
||||
return false;
|
||||
|
||||
#endif // _SCRIPT_MGR_MACRO_H_
|
||||
|
||||
Reference in New Issue
Block a user