mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
Fixed Coral crash with base type classes, temp fix for logs crash + added light color param to C# api
This commit is contained in:
@@ -3055,10 +3055,10 @@ namespace Nuake {
|
||||
DrawMenuBars();
|
||||
|
||||
int i = 0;
|
||||
if (Logger::GetLogCount() > 0 && Logger::GetLogs()[Logger::GetLogCount() - 1].type == COMPILATION)
|
||||
{
|
||||
SetStatusMessage(std::string(ICON_FA_EXCLAMATION_TRIANGLE) + " An unhandled exception occured in your script. See logs for more details.", Color(1.0f, 0.1f, 0.1f, 1.0f));
|
||||
}
|
||||
//if (Logger::GetLogCount() > 0 && Logger::GetLogs()[Logger::GetLogCount() - 1].type == COMPILATION)
|
||||
//{
|
||||
// SetStatusMessage(std::string(ICON_FA_EXCLAMATION_TRIANGLE) + " An unhandled exception occured in your script. See logs for more details.", Color(1.0f, 0.1f, 0.1f, 1.0f));
|
||||
//}
|
||||
|
||||
DrawStatusBar();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user