mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
feat(Core/Battleground): rework bg queue system (#10817)
This commit is contained in:
@@ -64,4 +64,9 @@ inline void ExecuteScript(std::function<void(ScriptName*)> executeHook)
|
||||
}
|
||||
}
|
||||
|
||||
inline bool ReturnValidBool(Optional<bool> ret, bool need = false)
|
||||
{
|
||||
return ret && *ret ? need : !need;
|
||||
}
|
||||
|
||||
#endif // _SCRIPT_MGR_MACRO_H_
|
||||
|
||||
Reference in New Issue
Block a user