mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-30 14:39:10 +07:00
Fixed #513
This commit is contained in:
@ -83,6 +83,8 @@ public class Control implements ApplicationListener{
|
||||
});
|
||||
|
||||
Events.on(PlayEvent.class, event -> {
|
||||
player.setTeam(defaultTeam);
|
||||
player.setDead(true);
|
||||
player.add();
|
||||
|
||||
state.set(State.playing);
|
||||
|
@ -37,6 +37,7 @@ public class LiquidConverter extends GenericCrafter{
|
||||
if(hasPower){
|
||||
use *= entity.power.satisfaction; // Produce less liquid if power is not maxed
|
||||
}
|
||||
useContent(tile, outputLiquid.liquid);
|
||||
entity.progress += use / cl.amount / craftTime;
|
||||
entity.liquids.add(outputLiquid.liquid, use);
|
||||
if(entity.progress >= 1f){
|
||||
|
Reference in New Issue
Block a user