Browse Source

Fix partially using tabulations instead of spaces

pull/8/head
Anton Tarasenko 4 years ago
parent
commit
0ecf228b67
  1. 10
      sources/Events/Broadcast/BroadcastEventsObserver.uc
  2. BIN
      sources/Text/Tests/TEST_Parser.uc

10
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);
}

BIN
sources/Text/Tests/TEST_Parser.uc

Binary file not shown.
Loading…
Cancel
Save