Рабочий: NRE в логе подброса топлива (имя стопки до забора)
Проверено в игре: костёр, сырое мясо -> жареное, остановка по запасу образца (3). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
210ad3ebaa
commit
5ba10eb59b
@@ -565,9 +565,10 @@ namespace NecromancerTome
|
||||
{
|
||||
fuel[i].count += take;
|
||||
}
|
||||
string fuelName = g.itemValue.ItemClass?.GetItemName(); // до Take: опустевшая ячейка очищает стопку (было NRE, 18.10)
|
||||
CinerariumWork.Take(s.box, k, take);
|
||||
_te.Fuel = fuel;
|
||||
Debug.Log("[NecromancerTome] Cinerarium: рабочий подбросил топливо " + take + " " + g.itemValue.ItemClass.GetItemName());
|
||||
Debug.Log("[NecromancerTome] Cinerarium: рабочий подбросил топливо " + take + " " + fuelName);
|
||||
goto lit;
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user