Browse Source

Fix `callerPlayer` remaining in `otherConsole`

pull/8/head
Anton Tarasenko 2 years ago
parent
commit
a66ec6c521
  1. 2
      sources/Commands/Command.uc

2
sources/Commands/Command.uc

@ -404,7 +404,7 @@ private final function MakeConsoles(
local int i;
publicConsole = _.console.ForAll();
callerConsole = _.console.For(callerPlayer);
othersConsole = _.console.ForAll();
othersConsole = _.console.ForAll().ButPlayer(callerPlayer);
for (i = 0; i < targetPlayers.length; i += 1) {
othersConsole.ButPlayer(targetPlayers[i]);
}

Loading…
Cancel
Save