mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 15:41:13 -04:00
Make NPCs auto-equip after their inventory is loaded, this fixes NPCs that start as dead not auto-equipping
This commit is contained in:
parent
0923306404
commit
43e0df479e
@ -233,6 +233,8 @@ namespace MWClass
|
|||||||
|
|
||||||
// store
|
// store
|
||||||
ptr.getRefData().setCustomData (data.release());
|
ptr.getRefData().setCustomData (data.release());
|
||||||
|
|
||||||
|
getInventoryStore(ptr).autoEquip(ptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user