Pruned server_v7.json to fix iOS server ping crash
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -91,7 +91,7 @@ public class GlobalVars{
|
||||
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))){
|
||||
@@ -203,7 +203,7 @@ public class GlobalVars{
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user