Fix a bug where nanos aren't unsummoned when unequipped.

Thanks fabriXfinn for reporting it.
Also improved sanity checks.
This commit is contained in:
2020-08-25 20:30:20 +02:00
parent dff710cf61
commit 41898bb6b7
2 changed files with 46 additions and 29 deletions

View File

@@ -13,6 +13,7 @@ namespace NanoManager {
// Helper methods
void addNano(CNSocket* sock, int16_t nanoId, int16_t slot);
void summonNano(CNSocket* sock, int slot);
void setNanoSkill(CNSocket* sock, int16_t nanoId, int16_t skillId);
void resetNanoSkill(CNSocket* sock, int16_t nanoId);
}