From a77180d89ad74b0551ec65584f053e30199656d1 Mon Sep 17 00:00:00 2001 From: Kistaro Windrider Date: Fri, 20 Jun 2025 18:55:48 -0700 Subject: [PATCH] bullet_base:die doesn't actually make sense --- vacuum_gambit.p8 | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/vacuum_gambit.p8 b/vacuum_gambit.p8 index fcf8bac..0f1227c 100644 --- a/vacuum_gambit.p8 +++ b/vacuum_gambit.p8 @@ -809,22 +809,14 @@ remainder: end function bullet_base:hitship(_) - self:die() return true end -function bullet_base:die() -end - function bullet_base:move() self.x += self.dx self.y += self.dy if (self.f) self.f -= 1 - if (self.y > 145) or (self.y < -64) or (self.f and self.f < 0) or (self.x > 256) or (self.x < -128) then - self:die() - return true - end - return false + return (self.y > 145) or (self.y < -64) or (self.f and self.f < 0) or (self.x > 256) or (self.x < -128) end function bullet_base:draw()