Fix RoomObjectModel

This commit is contained in:
Bill 2021-11-07 02:02:41 -05:00
parent 91bf769348
commit 27cbd6d5f9

View File

@ -27,6 +27,11 @@ export class RoomObjectModel implements IRoomObjectModel
public setValue<T>(key: string, value: T): void
{
if(this._map.has(key))
{
if(this._map.get(key) === value) return;
}
this._map.set(key, (value as T));
this._updateCounter++;