Skip to content

Commit

Permalink
Hotfix: bad variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
RhenaudTheLukark committed Jan 11, 2019
1 parent e8356e5 commit d5fdcb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/Scripts/Inventory/Inventory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ public static class Inventory {

public static void SetItemList(string[] items = null) {
foreach (string item in items) {
string outStr = "";
int outInt = 0;
string outString = "";
int outInt = 0;
if (!addedItems.Contains(item) && !NametoDesc.TryGetValue(item, out outString) && !NametoShortName.TryGetValue(item, out outString) && !NametoType.TryGetValue(item, out outInt) && !NametoPrice.TryGetValue(item, out outInt))
throw new CYFException("Inventory.SetInventory: The item \"" + item + "\" was not found.\n\nAre you sure you called Inventory.AddCustomItems first?");
}
Expand Down

0 comments on commit d5fdcb7

Please sign in to comment.