From 7dea8bbd3e6948f0c398101f753531baa40729da Mon Sep 17 00:00:00 2001 From: DarkGod <darkgod@net-core.org> Date: Fri, 17 Feb 2017 02:10:40 +0100 Subject: [PATCH] gplop --- game/modules/tome/data/gfx/particles/apply_poison.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/game/modules/tome/data/gfx/particles/apply_poison.lua b/game/modules/tome/data/gfx/particles/apply_poison.lua index 9c63473bc2..25ce3bd64d 100644 --- a/game/modules/tome/data/gfx/particles/apply_poison.lua +++ b/game/modules/tome/data/gfx/particles/apply_poison.lua @@ -21,6 +21,7 @@ base_size = 64 toback = false can_shift = true +local run = true return { generator = function() local ad = rng.range(0, 360) local a = math.rad(ad) @@ -47,7 +48,8 @@ return { generator = function() } end, }, function(self) - self.ps:emit(1) + if run then self.ps:emit(1) end + run = not run end, 32, "particles_images/apply_poison"..rng.range(1, 4) -- GitLab