From 0c3a36f1fddcafa8b515eb98e6d9b1dde861375c Mon Sep 17 00:00:00 2001 From: Kistaro Windrider Date: Wed, 20 Dec 2023 13:15:34 -0800 Subject: [PATCH] defer zap_gun creation until it exists --- updatedshmup.p8 | 1 - 1 file changed, 1 deletion(-) diff --git a/updatedshmup.p8 b/updatedshmup.p8 index 04496ee..a012edd 100644 --- a/updatedshmup.p8 +++ b/updatedshmup.p8 @@ -743,7 +743,6 @@ xl_chasey=chasey.new{ shield = 5, boss = true, slip = false, - main_gun = zap_gun.new{enemy=true}, grab_butts = function(self) local butts = chasey.grab_butts(self) if (self.y < 4) butts[3] = 1