diff --git a/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterBattleClass.cpp b/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterBattleClass.cpp index 1194e6f..fda0207 100644 --- a/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterBattleClass.cpp +++ b/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterBattleClass.cpp @@ -16,7 +16,7 @@ void RegisterBattleClass::RegisterChoiceQueue(asIScriptEngine* engine) { asMETHOD(CreatureLib::Battling::ChoiceQueue, MoveCreatureChoiceNext), asCALL_THISCALL); assert(r >= 0); - r = engine->RegisterObjectMethod("ChoiceQueue", "BaseTurnChoice Peek() const", + r = engine->RegisterObjectMethod("ChoiceQueue", "const BaseTurnChoice@ Peek() const", asMETHOD(CreatureLib::Battling::ChoiceQueue, Peek), asCALL_THISCALL); assert(r >= 0);