mirror of
https://gitgud.io/BondageProjects/Bondage-College.git
synced 2025-04-25 17:59:34 +00:00
FIxc2
This commit is contained in:
parent
6e80b57bc9
commit
7fe0911cce
1 changed files with 8 additions and 6 deletions
|
@ -92,12 +92,14 @@ function KinkyDungeonUpdateFromData() {
|
|||
|
||||
for (let N = 0; N < inventory.length; N++) {
|
||||
let item = inventory[N].split('/');
|
||||
let i = 1;
|
||||
let restraint = KinkyDungeonGetRestraintByName(item[i++]);
|
||||
KinkyDungeonAddRestraint(restraint, 0, true); // Add the item
|
||||
let createdrestraint = KinkyDungeonGetRestraintItem(restraint.Group);
|
||||
if (createdrestraint)
|
||||
createdrestraint.lock = ""; // Lock if applicable
|
||||
if (item.length > 1) {
|
||||
let i = 1;
|
||||
let restraint = KinkyDungeonGetRestraintByName(item[i++]);
|
||||
KinkyDungeonAddRestraint(restraint, 0, true); // Add the item
|
||||
let createdrestraint = KinkyDungeonGetRestraintItem(restraint.Group);
|
||||
if (createdrestraint)
|
||||
createdrestraint.lock = ""; // Lock if applicable
|
||||
}
|
||||
}
|
||||
KinkyDungeonUpdateStats(0);
|
||||
KinkyDungeonDressPlayer();
|
||||
|
|
Loading…
Add table
Reference in a new issue