mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 23:51:09 -04:00
[Client] Prevent DedicatedActors from automatically equipping torches
This commit is contained in:
parent
940a2b6eb5
commit
9d9581a1c2
@ -903,11 +903,11 @@ namespace MWMechanics
|
||||
/*
|
||||
Start of tes3mp change (major)
|
||||
|
||||
We need DedicatedPlayers to not automatically unequip
|
||||
their light-emitting items, so a 2nd condition has been added
|
||||
for them
|
||||
We need DedicatedPlayers and DedicatedActors to not automatically
|
||||
equip their light-emitting items, so additions conditions have been
|
||||
added for them
|
||||
*/
|
||||
if (!isPlayer && !mwmp::PlayerList::isDedicatedPlayer(ptr))
|
||||
if (!isPlayer && !mwmp::PlayerList::isDedicatedPlayer(ptr) && !mwmp::Main::get().getCellController()->isDedicatedActor(ptr))
|
||||
{
|
||||
/*
|
||||
End of tes3mp change (major)
|
||||
|
Loading…
x
Reference in New Issue
Block a user