fix incorrect command reply in nominations#1161
fix incorrect command reply in nominations#1161Headline merged 1 commit intoalliedmodders:masterfrom
Conversation
When a map is nominated and the max nominations have been reached, the wrong text is returned if the map hasn't been nominated yet. Instead of printing the "Max Nominations" text, it prints out the "Map Already Nominated" text instead.
|
Thanks for contributing! Looking over this, I'm seeing an explicit check for maps that have already been nominated. I believe something more nefarious is going on than a simple logic issue. The part you have edited, from what I've observed, is only possible to be hit when the map list is full, indicating to me that the original message is correct sourcemod/plugins/nominations.sp Lines 323 to 326 in de1a186 |
|
|
Oh; I see, my mistake. Thank you for clarifying, I was a little confused about what was going on. I was under the impression that Thank you very much! |
When a map is nominated and the max nominations have been reached, the wrong text is returned if the map hasn't been nominated yet. Instead of printing the "Max Nominations" text, it prints out the "Map Already Nominated" text instead.