1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-20 19:39:41 +00:00

another case fix (remote member access again)

This commit is contained in:
Marc Zinnschlag 2014-02-12 15:22:17 +01:00
parent a85d3c7dcb
commit b3412b7eec

View file

@ -52,7 +52,8 @@ namespace MWScript
char type = ' ';
if (!script.empty())
type = MWBase::Environment::get().getScriptManager()->getLocals (script).getType (name);
type = MWBase::Environment::get().getScriptManager()->getLocals (script).getType (
Misc::StringUtils::lowerCase (name));
return std::make_pair (type, reference);
}