Point bullets hitting buildings doesn't call hit (#9106)

* Point bullet hitting buildings doesn't call hit

* Use px/py
This commit is contained in:
MEEPofFaith 2023-09-28 11:26:45 -07:00 committed by GitHub
parent 81688f3954
commit 1d484d34e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,6 +61,7 @@ public class PointBulletType extends BulletType{
Building build = Vars.world.buildWorld(px, py);
if(build != null && build.team != b.team){
build.collision(b);
hit(b, px, py);
}
}