Skip to content

Commit 5c15869

Browse files
committed
#202 fixed green dino fire spawn
1 parent 813e257 commit 5c15869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/dinosaur/dinosaurexploder/components/GreenDinoComponent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public void shoot() {
6767
Point2D center = entity.getCenter();
6868
Vec2 direction = Vec2.fromAngle(entity.getRotation() +90);
6969
spawn("basicEnemyProjectile",
70-
new SpawnData(center.getX() + 50 +3, center.getY())
70+
new SpawnData(center.getX(), center.getY())
7171
.put("direction", direction.toPoint2D() )
7272
);
7373
}

0 commit comments

Comments
 (0)