Enable Code Quality Rules
Enforces a variety of CAxxxx rules that do not have existing violations. For the benefit of dotnet_code_quality.CA2241.try_determine_additional_string_formatting_methods_automatically = true, rename parameters of methods that forward to string.Format so format issues will get detected automatically.
This commit is contained in:
@@ -74,10 +74,10 @@ namespace OpenRA.Mods.Common
|
||||
return owner.World.Map.Rules.Actors.Where(k => names.Contains(k.Key)).Random(owner.World.LocalRandom).Value;
|
||||
}
|
||||
|
||||
public static void BotDebug(string s, params object[] args)
|
||||
public static void BotDebug(string format, params object[] args)
|
||||
{
|
||||
if (Game.Settings.Debug.BotDebug)
|
||||
TextNotificationsManager.Debug(s, args);
|
||||
TextNotificationsManager.Debug(format, args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user