mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-14 09:47:24 +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);
|
Building build = Vars.world.buildWorld(px, py);
|
||||||
if(build != null && build.team != b.team){
|
if(build != null && build.team != b.team){
|
||||||
build.collision(b);
|
build.collision(b);
|
||||||
|
hit(b, px, py);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user