From d5fdcb7bb345eb10e04cc689c172732df5d99e43 Mon Sep 17 00:00:00 2001 From: RhenaudTheLukark Date: Fri, 11 Jan 2019 21:07:49 +0100 Subject: [PATCH] Hotfix: bad variable name --- Assets/Scripts/Inventory/Inventory.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/Inventory/Inventory.cs b/Assets/Scripts/Inventory/Inventory.cs index a4d022206..c2bf081f7 100644 --- a/Assets/Scripts/Inventory/Inventory.cs +++ b/Assets/Scripts/Inventory/Inventory.cs @@ -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?"); }