Fixed detection of craftable items that aren't enhanceable (failed out of bounds checks). Hide information about craftable items that have yet to be unlocked.

This commit is contained in:
2023-12-29 01:00:42 -06:00
parent 4e3c9877e7
commit c876f8a6ea
15 changed files with 119 additions and 110 deletions
+3
View File
@@ -2337,6 +2337,9 @@ int Crawler::GetCurrentChapter(){
void Crawler::SetChapter(int chapter){
this->chapter=chapter;
for(MenuComponent*component:Menu::chapterListeners){
component->OnChapterUpdate(chapter);
}
}
const std::weak_ptr<Item>Crawler::GetLoadoutItem(int slot){