diff --git a/SMIMS-Game/PlayerProjectile.class b/SMIMS-Game/PlayerProjectile.class index f10839b..fd9d3b1 100644 Binary files a/SMIMS-Game/PlayerProjectile.class and b/SMIMS-Game/PlayerProjectile.class differ diff --git a/SMIMS-Game/PlayerProjectile.java b/SMIMS-Game/PlayerProjectile.java index 76ca5f8..85923cc 100644 --- a/SMIMS-Game/PlayerProjectile.java +++ b/SMIMS-Game/PlayerProjectile.java @@ -15,10 +15,10 @@ public class PlayerProjectile extends Actor public void act() { move(7); - checkForEnemyCollision(); if (!isProjectileOnScreen()){ getWorld().removeObject(this); } + checkForEnemyCollision(); } public void checkForEnemyCollision(){