From a6b67e4e005e957a065fb859125d8982afc99316 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20Br=C3=BCckner?= Date: Fri, 27 Aug 2021 14:34:59 +0200 Subject: [PATCH] Improve assert() docstring --- Sources/armory/system/Assert.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/armory/system/Assert.hx b/Sources/armory/system/Assert.hx index abb0ec20..995a6c14 100644 --- a/Sources/armory/system/Assert.hx +++ b/Sources/armory/system/Assert.hx @@ -12,8 +12,8 @@ class Assert { /** Checks whether the given expression evaluates to true. If this is not - the case, an `ArmAssertionException` with additional information is - thrown. + the case, an `ArmAssertionException` is thrown or a warning is printed + (depending on the assertion level). The assert level describes the severity of the assertion. If the severity is lower than the level stored in the `arm_assert_level` flag,