This commit is contained in:
Anuken
2019-10-27 16:05:13 -04:00
parent 101f5351bd
commit d28ae1b304
3 changed files with 6 additions and 3 deletions

View File

@@ -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;

View File

@@ -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));
} }
} }

View File

@@ -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));
} }