Fallback OptionShowPlayerNames to 'on' when it is nil#6987
Fallback OptionShowPlayerNames to 'on' when it is nil#6987Gatsik wants to merge 1 commit intoFAForever:developfrom
OptionShowPlayerNames to 'on' when it is nil#6987Conversation
WalkthroughThe change adds a fallback default value for Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5–10 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🔇 Additional comments (1)
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. Comment |
Fallback
OptionShowPlayerNamesto 'on' when it is nil, because game crashes when there are no options ingame.prefsfileMost of the time (always?)
GetFromCurrentProfileis checked for nil, but here this safety check was forgottenSummary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.