Skip to content

Minigames: apply flood control only to common minigame commands

terencehill requested to merge terencehill/minigame_flood_control into master

Minigames: apply flood control only to common minigame commands since individual minigame commands shouldn't be limited for gameplay reasons

It fixes #2846 "Flood control makes some minigames hard to play"

Implementation details: I made the list of common minigame commands as a list of globals, so that the cmd.qc code can check all of them without the need to list them again. This way any future command addition / removal / update in the minigame code doesn't need any update in cmd.qc too, making the code more robust.

This MR supersedes !1210 (closed)

Edited by terencehill

Merge request reports