diff --git a/apps/openmw/mwlua/objectbindings.cpp b/apps/openmw/mwlua/objectbindings.cpp index ec33a3dc4e..e9595932cb 100644 --- a/apps/openmw/mwlua/objectbindings.cpp +++ b/apps/openmw/mwlua/objectbindings.cpp @@ -568,7 +568,7 @@ namespace MWLua objectT["setRotation"] = [context](const GObject& object, const sol::object& newRotObj) { if (newRotObj == sol::nil) { - throw std::runtime_error("setTransform requires a non-nil rotation argument"); + throw std::runtime_error("setRotation requires a non-nil rotation argument"); } MWWorld::Ptr ptr = object.ptr(); if (ptr.getCellRef().getCount() == 0 || !ptr.isInCell())