fix: Buying two ships crash#946
Conversation
📝 WalkthroughSummary by CodeRabbit
WalkthroughBy the Omnissiah's will, this update brings forth minor refactoring and syntax corrections to the warships shop's drawing and purchasing logic, adjusts conditional decrement logic in construction tracking, and enhances the event insertion routine with default duration and optimised loop control. No external interfaces or exported entities have been altered. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Suggested labels
Suggested reviewers
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🧰 Additional context used📓 Path-based instructions (2)**/*.gml⚙️ CodeRabbit Configuration File
Files:
**/*.*⚙️ CodeRabbit Configuration File
Files:
🧠 Learnings (3)📓 Common learningsobjects/obj_shop/Step_0.gml (5)Learnt from: EttyKitty Learnt from: EttyKitty Learnt from: EttyKitty Learnt from: OH296 Learnt from: EttyKitty objects/obj_shop/Draw_0.gml (10)Learnt from: EttyKitty Learnt from: EttyKitty Learnt from: EttyKitty Learnt from: EttyKitty Learnt from: MCPO-Spartan-117 Learnt from: EttyKitty Learnt from: OH296 Learnt from: OH296 Learnt from: MCPO-Spartan-117 Learnt from: EttyKitty 🔇 Additional comments (10)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Purpose and Description
Testing done
Related things and/or additional context