Skip to content

Commit

Permalink
Fix Utility Network Build on load (#1684)
Browse files Browse the repository at this point in the history
  • Loading branch information
koosemose authored Dec 12, 2016
1 parent 50b7b5d commit 7a1fecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/Models/Buildable/UtilityManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public void FromJson(JToken utilitiesToken)
int y = (int)utilityToken["Y"];
int z = (int)utilityToken["Z"];
string type = (string)utilityToken["Type"];
Utility utility = PlaceUtility(type, World.Current.GetTileAt(x, y, z), false);
Utility utility = PlaceUtility(type, World.Current.GetTileAt(x, y, z), true);
utility.FromJson(utilityToken);
}

Expand Down

0 comments on commit 7a1fecb

Please sign in to comment.