mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-11 00:07:46 +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:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user