Beter payload updating system
This commit is contained in:
@@ -1732,6 +1732,10 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
||||
}
|
||||
}
|
||||
|
||||
public void updatePayload(@Nullable Unit unitHolder, @Nullable Building buildingHolder){
|
||||
update();
|
||||
}
|
||||
|
||||
public void updateTile(){
|
||||
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ abstract class PayloadComp implements Posc, Rotc, Hitboxc, Unitc{
|
||||
// build.build.team = team;
|
||||
//}
|
||||
pay.set(x, y, rotation);
|
||||
pay.update(true);
|
||||
pay.update(self(), null);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user