Fixed issue where initial exception in the C Interface kept being blank.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-07-30 18:41:38 +02:00
parent 13c4609cdd
commit 99a562812d

View File

@@ -1,4 +1,3 @@
#include "Core.hpp" #include "Core.hpp"
std::string ExceptionHandler::_creatureLibLastException = "";
export const char* CreatureLib_C_GetLastException() { return ExceptionHandler::GetLastException(); } export const char* CreatureLib_C_GetLastException() { return ExceptionHandler::GetLastException(); }