1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Properly using error message argument for Assert

This commit is contained in:
Brian Fiete 2020-05-09 07:26:00 -07:00
parent 2e83062143
commit 36b6d63dbb

View file

@ -323,7 +323,7 @@ namespace System
public static void Assert(bool condition, String error)
{
if (!condition)
Internal.FatalError("Assert failed", 1);
Internal.FatalError(error, 1);
}
}
}