Fix: EnemyProjectile wird auch am rechten bildschirmrand gelöscht

This commit is contained in:
2026-09-17 12:06:52 +02:00
parent c97dcde07a
commit a36481e098
3 changed files with 1 additions and 1 deletions
Binary file not shown.
+1 -1
View File
@@ -26,7 +26,7 @@ public class EnemyProjectile extends Projectile
return false;
}
//Check X-Value
if (getX() <= 0 || getX() >= getWorld().getHeight()-1){
if (getX() <= 0 || getX() >= getWorld().getWidth()-1){
return false;
}
return true;
Binary file not shown.