From 955bb2871cfb3bdd21ebcecec769a70b952072ca Mon Sep 17 00:00:00 2001 From: LoneWolfHT Date: Thu, 7 Dec 2023 15:22:44 -0800 Subject: [PATCH] Fix infinite snowball bug --- mods/other/throwable_snow/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/other/throwable_snow/init.lua b/mods/other/throwable_snow/init.lua index 068cfd6912..9fad32d1e4 100644 --- a/mods/other/throwable_snow/init.lua +++ b/mods/other/throwable_snow/init.lua @@ -59,7 +59,7 @@ local snowball_def = { } } -grenades.register_grenade("throwable_snow:snowball", snowball_def) +grenades.register_grenade("throwable_snow:snowball", table.copy(snowball_def)) snowball_def.stack_max = -1 grenades.register_grenade("throwable_snow:infinite_snowball", snowball_def)