diff --git a/sources/Events/Broadcast/BroadcastEventsObserver.uc b/sources/Events/Broadcast/BroadcastEventsObserver.uc index 5674e87..db3b904 100644 --- a/sources/Events/Broadcast/BroadcastEventsObserver.uc +++ b/sources/Events/Broadcast/BroadcastEventsObserver.uc @@ -187,7 +187,7 @@ public function bool HandlerAllowsBroadcast(Actor broadcaster, int sentTextNum) canBroadcast = nextBroadcastHandler .HandlerAllowsBroadcast(broadcaster, sentTextNum); } - return canBroadcast; + return canBroadcast; } function Broadcast(Actor sender, coerce string message, optional name type) @@ -254,7 +254,7 @@ event AllowBroadcastLocalized( function bool AllowsBroadcast(Actor broadcaster, int len) { - if (blockAllowsBroadcast) + if (blockAllowsBroadcast) return true; return super.AllowsBroadcast(broadcaster, len); } @@ -288,7 +288,7 @@ function bool AcceptBroadcastText( if (!canBroadcast) { return false; } - return super.AcceptBroadcastText(receiver, senderPRI, message, type); + return super.AcceptBroadcastText(receiver, senderPRI, message, type); } @@ -302,7 +302,7 @@ function bool AcceptBroadcastLocalized( optional Object obj ) { - local bool canBroadcast; + local bool canBroadcast; local BroadcastEvents.LocalizedMessage packedMessage; packedMessage.class = message; packedMessage.id = switch; @@ -324,7 +324,7 @@ function bool AcceptBroadcastLocalized( if (!canBroadcast) { return false; } - return super.AcceptBroadcastLocalized( receiver, sender, message, switch, + return super.AcceptBroadcastLocalized( receiver, sender, message, switch, relatedPRI1, relatedPRI2, obj); } diff --git a/sources/Text/Tests/TEST_Parser.uc b/sources/Text/Tests/TEST_Parser.uc index 6cf0015..75faa58 100644 Binary files a/sources/Text/Tests/TEST_Parser.uc and b/sources/Text/Tests/TEST_Parser.uc differ