mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 23:49:21 +01:00
TGUI Say (#16160)
* TGUI Say * Add icon_ref_map.json to make tgui-dev-server stop screaming * Update tgui.bundle.js * bundle recompile --------- Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Heroman <alesha3000@list.ru>
This commit is contained in:
co-authored by
Heroman3003
Heroman
parent
bd1d79aebf
commit
7a7920f29e
@@ -0,0 +1,13 @@
|
||||
#undef ASSERT
|
||||
|
||||
/// Override BYOND's native ASSERT to optionally specify a message
|
||||
#define ASSERT(condition, message...) \
|
||||
if (!(condition)) { \
|
||||
CRASH(assertion_message(__FILE__, __LINE__, #condition, ##message)) \
|
||||
}
|
||||
|
||||
/proc/assertion_message(file, line, condition, message)
|
||||
if (!isnull(message))
|
||||
message = " - [message]"
|
||||
|
||||
return "[file]:[line]:Assertion failed: [condition][message]"
|
||||
Reference in New Issue
Block a user