Faster and better debug unique drop

Drop unique debug command tweak
This commit is contained in:
qndel 2021-09-24 16:03:19 +02:00 committed by GitHub
commit c44ae7b0d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 88 additions and 13 deletions

View file

@ -418,12 +418,12 @@ std::string DebugCmdRefillHealthMana(const string_view parameter)
std::string DebugCmdGenerateUniqueItem(const string_view parameter)
{
return DebugSpawnItem(parameter.data(), true);
return DebugSpawnUniqueItem(parameter.data());
}
std::string DebugCmdGenerateItem(const string_view parameter)
{
return DebugSpawnItem(parameter.data(), false);
return DebugSpawnItem(parameter.data());
}
std::string DebugCmdExit(const string_view parameter)