From fa4efb42b6badd30514eff500e609fc8eca7402f Mon Sep 17 00:00:00 2001 From: Renee Ibeji Date: Tue, 14 May 2024 09:54:39 +0100 Subject: [PATCH] fix --- sources/chargen.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sources/chargen.js b/sources/chargen.js index 055f4df3b..5c3637c11 100755 --- a/sources/chargen.js +++ b/sources/chargen.js @@ -672,8 +672,7 @@ $(document).ready(function() { if($(this).data(`layer_1_${getBodyTypeName()}`) === undefined){ previewToDraw.link = $(this).data(`layer_1_${getBodyTypeName()}`); previewToDraw.zPos = $(this).data(`layer_1_zpos`); - layers.push(previewToDraw); - } + layers.push(previewToDraw); } else{ for(jdx = 1; jdx < 10; jdx++){ if($(this).data(`layer_${jdx}_${getBodyTypeName()}`)){