work around for iw5/t6 not being able to parse multiple commands over rcon for mag command
This commit is contained in:
parent
5d7ac7498f
commit
5d12ff471b
@ -112,10 +112,12 @@ namespace IW4MAdmin.Application.Commands
|
||||
{
|
||||
case Server.Game.IW5:
|
||||
await gameEvent.Owner.ExecuteCommandAsync(
|
||||
$"load_dsr {(hasMatchingGametype ? gametype.ToUpper() + "_default" : gametype)};map {map}");
|
||||
$"load_dsr {(hasMatchingGametype ? gametype.ToUpper() + "_default" : gametype)}");
|
||||
await gameEvent.Owner.ExecuteCommandAsync($"map {map}");
|
||||
break;
|
||||
case Server.Game.T6:
|
||||
await gameEvent.Owner.ExecuteCommandAsync($"exec {gametype}.cfg;map {map}");
|
||||
await gameEvent.Owner.ExecuteCommandAsync($"exec {gametype}.cfg");
|
||||
await gameEvent.Owner.ExecuteCommandAsync($"map {map}");
|
||||
break;
|
||||
default:
|
||||
await gameEvent.Owner.ExecuteCommandAsync($"map {map}");
|
||||
|
Loading…
Reference in New Issue
Block a user