2 Commits

Author SHA1 Message Date
23b6a41eac Sync 2023-02-02 18:25:16 +01:00
f0c5e7b95d Sync 2023-02-02 18:24:58 +01:00
2 changed files with 4 additions and 4 deletions

View File

@ -388,10 +388,10 @@ export class SoSActor extends Actor {
if ( alreadyInside.length >= container.system.container ) {
ui.notifications.warn("Container is already full !");
} else {
await this.updateEmbeddedDocuments( "Item", [{ _id: object.id, 'system.containerid':containerId }]);
setTimeout(function() { this.updateEmbeddedDocuments( "Item", [{ _id: object.id, 'system.containerid':containerId }])}, 800 )
}
} else if ( object && object.system.containerid) { // remove from container
await this.updateEmbeddedDocuments( "Item", [{ _id: object.id, 'system.containerid':"" }]);
setTimeout(function() { this.updateEmbeddedDocuments( "Item", [{ _id: object.id, 'system.containerid':"" }])}, 800 )
}
}

View File

@ -4,7 +4,7 @@
"description": "Shadows over Sol for FoundryVTT",
"url": "https://www.uberwald.me/gitea/public/foundryvtt-shadows-over-sol/",
"license": "LICENSE.txt",
"version": "10.0.7",
"version": "10.0.8",
"compatibility": {
"minimum": "10",
"verified": "10.285",
@ -109,7 +109,7 @@
],
"socket": true,
"manifest": "https://www.uberwald.me/gitea/public/foundryvtt-shadows-over-sol/raw/branch/v10/system.json",
"download": "https://www.uberwald.me/gitea/public/foundryvtt-shadows-over-sol/archive/foundryvtt-shadows-over-sol-10.0.7.zip",
"download": "https://www.uberwald.me/gitea/public/foundryvtt-shadows-over-sol/archive/foundryvtt-shadows-over-sol-10.0.8.zip",
"gridDistance": 5,
"gridUnits": "ft"
}