Skip to content

Synchronize rate limit variables and limit PlayerMsg hook

Hanicef requested to merge Hanicef/SRB2:sync-rate-limit into next

Synchronize the rate limit and apply it on the PlayerMsg hook to eliminate any risks of desyncs caused by the engine. This makes sure that the rate limiter actually have an effect on custom chats implemented in Lua, since without it, Lua writers are going to be forced to re-implement a mechanism that the engine would've otherwise already provided.

Fixes #1289 (closed)

Merge request reports

Loading