Misc minor bugfixes
This commit is contained in:
Binary file not shown.
@@ -160,7 +160,8 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final void readBase(Reads read){
|
public final void readBase(Reads read){
|
||||||
health = read.f();
|
//cap health by block health in case of nerfs
|
||||||
|
health = Math.min(read.f(), block.health);
|
||||||
byte rot = read.b();
|
byte rot = read.b();
|
||||||
team = Team.get(read.b());
|
team = Team.get(read.b());
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,8 @@ public class LightBlock extends Block{
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void init(){
|
public void init(){
|
||||||
lightRadius = radius;
|
//double needed for some reason
|
||||||
|
lightRadius = radius*2f;
|
||||||
emitLight = true;
|
emitLight = true;
|
||||||
super.init();
|
super.init();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user