Some cleanups. (might break build for scripts as they are a WIP)
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Game
|
||||
{
|
||||
public static void Trigger(uint gameEventId, WorldObject source, WorldObject target)
|
||||
{
|
||||
Cypher.Assert(source || target, "At least one of [source] or [target] must be provided");
|
||||
Cypher.Assert(source != null || target != null, "At least one of [source] or [target] must be provided");
|
||||
|
||||
WorldObject refForMapAndZoneScript = source ?? target;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user