Skip to content

Commit

Permalink
fix: log first and execute afterwards
Browse files Browse the repository at this point in the history
  • Loading branch information
derkalle4 committed Jan 5, 2025
1 parent f9e4581 commit 21c8d48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MapModifiers+ExecuteServerCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ private void ServerCommandsOnMapStart(string mapName)
// server commands
foreach (var command in mapConfig.ServerCommands)
{
Server.ExecuteCommand(command);
Console.WriteLine(Localizer["servercommands.execute"].Value
.Replace("{command}", command)
.Replace("{mapName}", mapName));
Server.ExecuteCommand(command);
}
});
}
Expand Down

0 comments on commit 21c8d48

Please sign in to comment.