diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-10-31 05:59:52 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-10-31 05:59:52 +1100 |
commit | c8539fba9515b034b2759db4c75a203e869dabb8 (patch) | |
tree | 0c6f849d5a8e4a45fee2275fa7ccc384a00e33b0 | |
parent | 7eb1cd8dd94dcc076e0791092e82d1592464f194 (diff) |
WebHook test
-rw-r--r-- | source/game/StarPlayerInventory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarPlayerInventory.cpp b/source/game/StarPlayerInventory.cpp index 8ae052c..8fe2cd8 100644 --- a/source/game/StarPlayerInventory.cpp +++ b/source/game/StarPlayerInventory.cpp @@ -188,7 +188,7 @@ bool PlayerInventory::slotValid(InventorySlot const& slot) const { if (auto bag = bagContents(bagSlot->first)) { if ((size_t)bagSlot->second >= bag->size()) return false; - } + } else return false; } return true; |