defer zap_gun creation until it exists

This commit is contained in:
Kistaro Windrider 2023-12-20 13:15:34 -08:00
parent a39c419e5f
commit 0c3a36f1fd
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -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