From 075592702cdae0070c111075cdff916150a26f57 Mon Sep 17 00:00:00 2001 From: Dennis Postma Date: Wed, 2 Oct 2024 19:57:08 +0200 Subject: [PATCH] Zone editor bug fix: set updatedAt at saving so it gets sent back to the client --- src/socketEvents/gameMaster/zoneEditor/update.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/socketEvents/gameMaster/zoneEditor/update.ts b/src/socketEvents/gameMaster/zoneEditor/update.ts index f26b332..462c213 100644 --- a/src/socketEvents/gameMaster/zoneEditor/update.ts +++ b/src/socketEvents/gameMaster/zoneEditor/update.ts @@ -106,7 +106,8 @@ export default class ZoneUpdateEvent { positionX: zoneObject.positionX, positionY: zoneObject.positionY })) - } + }, + updatedAt: new Date() } })