Prod #7

Merged
dddushesss merged 17 commits from Prod into main 2022-01-05 15:05:51 +00:00
5 changed files with 2 additions and 5 deletions
Showing only changes of commit 482a8371a3 - Show all commits

View File

@ -52,13 +52,13 @@ namespace Items
while (closedList.Contains(cell) || cell.Item != null)
{
cell = _openList[Random.Range(0, _openList.Count - 1)];
return;
}
var type = GetWeightedType();
while (type == null)
{
type = GetWeightedType();
return;
}
var info = _itemInfos[type.ToString().Replace("Items.", "")];
var obj = (Item)Activator.CreateInstance(type, info);

View File

@ -1,3 +0,0 @@
fileFormatVersion: 2
guid: 32fec41995024d6f9b110df79b751c97
timeCreated: 1641238734

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

After

Width:  |  Height:  |  Size: 131 B