Browse Source

[Debug] Keep trying when unique item fails to generate

pull/7941/head
staphen 11 months ago committed by Anders Jenbo
parent
commit
ceec9900f3
  1. 1
      Source/lua/modules/dev/items.cpp

1
Source/lua/modules/dev/items.cpp

@ -179,7 +179,6 @@ std::string DebugSpawnUniqueItem(std::string itemName)
const std::string tmp = AsciiStrToLower(testItem._iIName);
if (tmp.find(itemName) != std::string::npos)
break;
return "Impossible to generate!";
}
int ii = AllocateItem();

Loading…
Cancel
Save