From 0ecf228b67912db08ca51a0aebfed358e8b17839 Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Sun, 7 Mar 2021 22:14:13 +0700 Subject: [PATCH] Fix partially using tabulations instead of spaces --- .../Broadcast/BroadcastEventsObserver.uc | 10 +++++----- sources/Text/Tests/TEST_Parser.uc | Bin 110824 -> 110896 bytes 2 files changed, 5 insertions(+), 5 deletions(-) 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 6cf0015b26c419555ec51e64e271e1058e17be01..75faa589d4a472d314416fafc02c5e2d15fe7a3e 100644 GIT binary patch delta 126 zcmaFykZr>wwhh_4ru&OBN=>fcRWSXyDWlkQe^o|}$^LvClRNM5Om9_X6q$Vdvccrs t-FcJwzsgPS4iuOksm7QzS$?tH=H@+m86e#z)9r@%_fx=e16@laePtD2QyYm=1 oH|@Ea!N@u3t^D-!%8UZj*UB?W5YRDcPv_+GbzIwd)ftt$05Yj3_W%F@