Skip to content

Commit

Permalink
Fixed Renaming of Safezone in config
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeCatIDK committed Jan 24, 2018
1 parent 04d31a0 commit 9504950
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions GunGame/GunGameConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public static void Initialize()
//Assign(jObj, "Lobby", ref instance.safezone, Default.safezone, ref hasDefaulted);
//Assign(jObj, "SpawnPositions", ref instance.positions, Default.positions);

JObject lobby = (JObject)jObj["Lobby"];
JObject lobby = (JObject)jObj["Safezone"];

if (lobby != null) {
instance.safezone = new SpawnPosition();
Expand Down Expand Up @@ -410,7 +410,7 @@ static void SaveConfigFile()
[JsonProperty(PropertyName = "DisableCosmetics")]
public bool disableCosmetics;

[JsonProperty(PropertyName = "Lobby")]
[JsonProperty(PropertyName = "Safezone")]
public SpawnPosition safezone;

[JsonProperty(PropertyName = "EconomySettings")]
Expand Down
2 changes: 1 addition & 1 deletion Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
[assembly: AssemblyCompany("52 Piece Games")]
[assembly: AssemblyProduct("Cheers Gun Game")]
[assembly: AssemblyCopyright("(c) 52 Piece Games 2018")]
[assembly: AssemblyVersion("2.0.0.1")]
[assembly: AssemblyVersion("2.0.0.2")]
[assembly: NeutralResourcesLanguage("en-US")]

0 comments on commit 9504950

Please sign in to comment.