From 15bee21286a852248c1ef0148c9040c379be2539 Mon Sep 17 00:00:00 2001 From: Zackhasacat Date: Tue, 24 Oct 2023 09:30:00 -0500 Subject: [PATCH] Fix caps --- apps/openmw/mwlua/classbindings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw/mwlua/classbindings.cpp b/apps/openmw/mwlua/classbindings.cpp index 5a9b3969d2..8eb11a9056 100644 --- a/apps/openmw/mwlua/classbindings.cpp +++ b/apps/openmw/mwlua/classbindings.cpp @@ -32,9 +32,9 @@ namespace MWLua void initCoreClassBindings(const Context& context) { sol::state_view& lua = context.mLua->sol(); - sol::usertype classStoreT = lua.new_usertype("ESM3_classStore"); + sol::usertype classStoreT = lua.new_usertype("ESM3_ClassStore"); classStoreT[sol::meta_function::to_string] = [](const classStore& store) { - return "ESM3_classStore{" + std::to_string(store.getSize()) + " classes}"; + return "ESM3_ClassStore{" + std::to_string(store.getSize()) + " classes}"; }; classStoreT[sol::meta_function::length] = [](const classStore& store) { return store.getSize(); }; classStoreT[sol::meta_function::index] = sol::overload(