diff options
author | Colin Okay <okay@toyful.space> | 2021-02-18 07:10:30 -0600 |
---|---|---|
committer | Colin Okay <okay@toyful.space> | 2021-02-18 07:10:30 -0600 |
commit | 4fd317f0cb96966500bcff88704c7e8054493ba6 (patch) | |
tree | 676a965c3ac6736626fe92da7beb2056ab8df0f8 | |
parent | 8d22d8d11ee45a7fb5ead5ddd8993c0a0df8a1e0 (diff) |
not dropping unmoving wigglers
-rw-r--r-- | Source/Main.hx | 11 |
1 files changed, 0 insertions, 11 deletions
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 |