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
@@ -99,6 +99,9 @@ void State_OverworldMap::OnUserUpdate(Crawler*game){
if(game->GetKey(B).bPressed){
Menu::OpenMenu(BLACKSMITH);
}
if(game->GetKey(C).bPressed){
Menu::OpenMenu(CRAFT_CONSUMABLE);
}
#pragma region Handle Connection Point Clicking and Movement
for(ConnectionPoint&cp:connections){