From 4fd317f0cb96966500bcff88704c7e8054493ba6 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Thu, 18 Feb 2021 07:10:30 -0600 Subject: not dropping unmoving wigglers --- Source/Main.hx | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'Source') diff --git a/Source/Main.hx b/Source/Main.hx index bba8a98..d88b351 100644 --- a/Source/Main.hx +++ b/Source/Main.hx @@ -108,17 +108,6 @@ class Wiggler extends Sprite Wiggler.allWigglers.push(this); - // destroy wigglers with no bones, but let them show up for a second first. - if (!staticWiggler) - { - var bonecount = 0; - for (v in bones) bonecount += 1; - if (bonecount == 0) - { - destroyInitiated = true; - Actuate.timer(0.5).onComplete( destroy ); - } - } } #if editing -- cgit v1.2.3