mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-06 00:49:14 +07:00
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:
parent
81688f3954
commit
1d484d34e7
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user