mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 23:21:20 -04:00
[Client] Update messages when unilaterally creating custom objects
This commit is contained in:
parent
c7bcf70c32
commit
8d286657d4
@ -897,7 +897,7 @@ void ObjectList::addObjectPlace(const MWWorld::Ptr& ptr, bool droppedByPlayer)
|
|||||||
{
|
{
|
||||||
if (ptr.getCellRef().getRefId().find("$dynamic") != string::npos)
|
if (ptr.getCellRef().getRefId().find("$dynamic") != string::npos)
|
||||||
{
|
{
|
||||||
MWBase::Environment::get().getWindowManager()->messageBox("You're trying to place a custom item, but those are not synchronized in multiplayer yet.");
|
MWBase::Environment::get().getWindowManager()->messageBox("You cannot place unsynchronized custom items in multiplayer.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -931,7 +931,8 @@ void ObjectList::addObjectSpawn(const MWWorld::Ptr& ptr)
|
|||||||
{
|
{
|
||||||
if (ptr.getCellRef().getRefId().find("$dynamic") != string::npos)
|
if (ptr.getCellRef().getRefId().find("$dynamic") != string::npos)
|
||||||
{
|
{
|
||||||
MWBase::Environment::get().getWindowManager()->messageBox("You're trying to spawn a custom object, but those are not synchronized in multiplayer yet.");
|
MWBase::Environment::get().getWindowManager()->messageBox("You're trying to spawn a custom object lacking a server-given refId, "
|
||||||
|
"and those cannot be synchronized in multiplayer.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user