Bugfixes
This commit is contained in:
@@ -22,8 +22,7 @@ public class MusicControl{
|
|||||||
public Array<Music> darkMusic = Array.with();
|
public Array<Music> darkMusic = Array.with();
|
||||||
private Music lastRandomPlayed;
|
private Music lastRandomPlayed;
|
||||||
private Interval timer = new Interval();
|
private Interval timer = new Interval();
|
||||||
private @Nullable
|
private @Nullable Music current;
|
||||||
Music current;
|
|
||||||
private float fade;
|
private float fade;
|
||||||
private boolean silenced;
|
private boolean silenced;
|
||||||
|
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ public class MechPad extends Block{
|
|||||||
MechFactoryEntity entity = tile.entity();
|
MechFactoryEntity entity = tile.entity();
|
||||||
|
|
||||||
if(entity.player != null){
|
if(entity.player != null){
|
||||||
RespawnBlock.drawRespawn(tile, entity.heat, entity.progress, entity.time, entity.player, (!entity.sameMech && entity.player.mech == mech ? Mechs.starter : mech));
|
RespawnBlock.drawRespawn(tile, entity.heat, entity.progress, entity.time, entity.player, (!entity.sameMech && entity.player.mech == mech ? mech : Mechs.starter));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -162,6 +162,10 @@ public class SWorkshop implements SteamUGCCallback{
|
|||||||
ugc.setItemVisibility(h, PublishedFileVisibility.Private);
|
ugc.setItemVisibility(h, PublishedFileVisibility.Private);
|
||||||
}
|
}
|
||||||
ugc.submitItemUpdate(h, changelog == null ? "<Created>" : changelog);
|
ugc.submitItemUpdate(h, changelog == null ? "<Created>" : changelog);
|
||||||
|
|
||||||
|
if(p instanceof Map){
|
||||||
|
SAchievement.publishMap.complete();
|
||||||
|
}
|
||||||
}, () -> p.addSteamID(sid));
|
}, () -> p.addSteamID(sid));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user