summaryrefslogtreecommitdiff
path: root/Runtime/Lua/LuaBind/LuaBindState.h
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Lua/LuaBind/LuaBindState.h')
-rw-r--r--Runtime/Lua/LuaBind/LuaBindState.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Runtime/Lua/LuaBind/LuaBindState.h b/Runtime/Lua/LuaBind/LuaBindState.h
index 071287f..a47ed5d 100644
--- a/Runtime/Lua/LuaBind/LuaBindState.h
+++ b/Runtime/Lua/LuaBind/LuaBindState.h
@@ -387,7 +387,7 @@ namespace LuaBind
Pop(1); // ref table
}
}
- luaL_typerror(mState, idx, TYPE::GetClassName());
+ luaL_typerror(mState, idx, TYPE::GetNativeClassName());
return nullptr;
}