mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-08-03 15:27:13 -04:00
fix copy
This commit is contained in:
parent
b0e2265858
commit
0170f38d93
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user