mirror of
https://github.com/cliffe/BreakEscape.git
synced 2026-02-21 19:28:03 +00:00
- Updated the games_controller to remove starting items from the inventory response, ensuring no duplicates are sent to the client. - Enhanced the inventory processing logic in JavaScript to check for existing items by ID, type, or name before adding new items, preventing duplicate entries in the player's inventory. Files modified: - games_controller.rb: Adjusted inventory response handling. - inventory.js: Added duplicate item check during inventory processing.