Skip to content

Commit

Permalink
Fix #26
Browse files Browse the repository at this point in the history
  • Loading branch information
MEEPofFaith committed Jul 11, 2022
1 parent 0426ecd commit f16b723
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ public float getLayer(Bullet b){
}

@Override
public Bullet create(Entityc owner, Team team, float x, float y, float angle, float damage, float velocityScl, float lifetimeScl, Object data){
Bullet bullet = super.create(owner, team, x, y, angle, damage, velocityScl, lifetimeScl, data);
public Bullet create(Entityc owner, Team team, float x, float y, float angle, float damage, float velocityScl, float lifetimeScl, Object data, Mover mover, float aimX, float aimY){
Bullet bullet = super.create(owner, team, x, y, angle, damage, velocityScl, lifetimeScl, data, mover, aimX, aimY);
if(backSpeed != 0f){
bullet.initVel(angle, -backSpeed * velocityScl);
if(backMove){
Expand Down

0 comments on commit f16b723

Please sign in to comment.