Skip to content

Commit

Permalink
Pruned server_v7.json to fix iOS server ping crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuken committed Jan 12, 2025
1 parent 3af562e commit 7fbf4ca
Show file tree
Hide file tree
Showing 2 changed files with 208 additions and 242 deletions.
8 changes: 4 additions & 4 deletions core/src/mindustry/logic/GlobalVars.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ public class GlobalVars{
private ObjectSet<String> privilegedNames = new ObjectSet<>();
private UnlockableContent[][] logicIdToContent;
private int[][] contentIdToLogicId;

public static final Seq<String> soundNames = new Seq<>();

public void init(){
putEntryOnly("sectionProcessor");

Expand Down Expand Up @@ -91,7 +91,7 @@ public void init(){
put("@ctrlProcessor", ctrlProcessor);
put("@ctrlPlayer", ctrlPlayer);
put("@ctrlCommand", ctrlCommand);

//sounds
if(Core.assets != null){
for(Sound sound : Core.assets.getAll(Sound.class, new Seq<>(Sound.class))){
Expand Down Expand Up @@ -203,7 +203,7 @@ public void update(){
varClient.numval = net.client() ? 1 : 0;

//client
if(!net.server() && player != null){
if(player != null){
varClientLocale.objval = player.locale();
varClientUnit.objval = player.unit();
varClientName.objval = player.name();
Expand Down
Loading

0 comments on commit 7fbf4ca

Please sign in to comment.