From 6af6c64d23a468fd4a2fe522b28ff0fb4679c911 Mon Sep 17 00:00:00 2001 From: Foz Date: Mon, 14 May 2018 22:05:21 -0400 Subject: [PATCH] Shorten max snowball life to ten seconds. --- src/snowball.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/snowball.lua b/src/snowball.lua index 0a2fcdc..87acf5c 100644 --- a/src/snowball.lua +++ b/src/snowball.lua @@ -130,8 +130,8 @@ end --Snowball_entity.on_step()--> called when snowball is moving. function snow_snowball_ENTITY.on_step(self, dtime) self.timer = self.timer+dtime - if self.timer > 600 then - -- 10 minutes are too long for a snowball to fly somewhere + if self.timer > 10 then + -- 10 seconds is too long for a snowball to fly somewhere self.object:remove() return end