Common: Add lua warn

This commit is contained in:
Lion Kortlepel 2021-12-05 01:31:44 +01:00
parent a289d0e872
commit 672c7d02d1
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B

View File

@ -149,7 +149,11 @@ void RegisterThread(const std::string& str);
} while (false)
#define beammp_lua_error(x) \
do { \
Application::Console().Write(_this_location + std::string("[LUA_ERROR] ") + (x)); \
Application::Console().Write(_this_location + std::string("[LUA ERROR] ") + (x)); \
} while (false)
#define beammp_lua_warn(x) \
do { \
Application::Console().Write(_this_location + std::string("[LUA WARN] ") + (x)); \
} while (false)
#define luaprint(x) Application::Console().Write(_this_location + std::string("[LUA] ") + (x))
#define beammp_debug(x) \