mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-12 21:34:11 +02:00
Properly using error message argument for Assert
This commit is contained in:
parent
2e83062143
commit
36b6d63dbb
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ namespace System
|
||||||
public static void Assert(bool condition, String error)
|
public static void Assert(bool condition, String error)
|
||||||
{
|
{
|
||||||
if (!condition)
|
if (!condition)
|
||||||
Internal.FatalError("Assert failed", 1);
|
Internal.FatalError(error, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue