From 7116b744c48e66fe0fe445a2ae30977c563434fc Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Mon, 27 Sep 2021 19:43:04 -0600 Subject: [PATCH] remove withWritableEntry unnecessary use --- .../source/EntrySpriteSystem.kiss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/projects/nat-flixel-desktop-playground/source/EntrySpriteSystem.kiss b/projects/nat-flixel-desktop-playground/source/EntrySpriteSystem.kiss index 5505797b..f3f26153 100644 --- a/projects/nat-flixel-desktop-playground/source/EntrySpriteSystem.kiss +++ b/projects/nat-flixel-desktop-playground/source/EntrySpriteSystem.kiss @@ -12,8 +12,7 @@ ->[archive e] { (when !(hasComponent e Positions) - (withWritableEntry archive e - (addComponent archive e Positions (new Map)))) + (addComponent archive e Positions (new Map))) (withWritableComponents archive e [positions Positions] (when !(positions.exists positionKey) (dictSet positions positionKey (object x 0.0 y 0.0 z 0.0))))