Revamp revival code

This commit is contained in:
Gent
2020-09-12 14:21:36 -04:00
parent fe370df534
commit 4880e4af12
2 changed files with 31 additions and 6 deletions

View File

@@ -175,8 +175,8 @@ void NanoManager::summonNano(CNSocket *sock, int slot) {
std::cout << "summon nano\n";
if (slot > 2 || slot < 0)
return; //sanity check
if (slot > 2 || slot < 0) // TODO: implement proper way to dismiss nano if slot = -1
return; // sanity check
int nanoId = plr->equippedNanos[slot];