mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Fix IL verification throwing if a verifier error does not need to be formatted.
This commit is contained in:
@@ -219,7 +219,8 @@ namespace Robust.Shared.ContentPack
|
||||
continue;
|
||||
}
|
||||
|
||||
var msg = $"{name}: ILVerify: {string.Format(res.Message, res.Args)}";
|
||||
var formatted = res.Args == null ? res.Message : string.Format(res.Message, res.Args);
|
||||
var msg = $"{name}: ILVerify: {formatted}";
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user