Evtl. fix unerklärliche async client fehler
This commit is contained in:
@@ -15,7 +15,7 @@ export default function attachmentManager(game: IGame) {
|
||||
{
|
||||
attachments: {},
|
||||
|
||||
addFor: async function (entity, id) {
|
||||
addFor: function (entity, id) {
|
||||
if (this.attachments.hasOwnProperty(id)) {
|
||||
if (!entity.__attachmentObjects) {
|
||||
entity.__attachmentObjects = {};
|
||||
|
||||
Reference in New Issue
Block a user