From 36b6d63dbb6bfc269741dc8dcc4e3440eb6ab8f5 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Sat, 9 May 2020 07:26:00 -0700 Subject: [PATCH] Properly using error message argument for Assert --- BeefLibs/corlib/src/Runtime.bf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BeefLibs/corlib/src/Runtime.bf b/BeefLibs/corlib/src/Runtime.bf index 8d4b8eea..58c77f5e 100644 --- a/BeefLibs/corlib/src/Runtime.bf +++ b/BeefLibs/corlib/src/Runtime.bf @@ -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); } } }