From 0170f38d93f18fd8008037960fce8d8287098e7d Mon Sep 17 00:00:00 2001 From: SkyHasACat Date: Fri, 1 Aug 2025 09:01:33 -0700 Subject: [PATCH] fix copy --- apps/openmw/mwlua/objectbindings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())