From fc50a1fbb5ec2ee3863854b501d32ed051bcbc9b Mon Sep 17 00:00:00 2001 From: Colin Geniet Date: Mon, 16 Mar 2020 23:01:05 +0100 Subject: [PATCH] Fix error when calling icingInit twice --- Nasal/Systems/icing.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nasal/Systems/icing.nas b/Nasal/Systems/icing.nas index e0bd7ac5..35262a8e 100644 --- a/Nasal/Systems/icing.nas +++ b/Nasal/Systems/icing.nas @@ -142,7 +142,6 @@ var icingInit = func { iceables[i] = Iceable.new(iceables[i]); } - icing_timer.simulatedTime = 1; icing_timer.start(); } @@ -333,3 +332,4 @@ var update_Icing = func { } var icing_timer = maketimer(0.2, update_Icing); +icing_timer.simulatedTime = 1;