You've already forked ComfyFactorio
mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2026-06-20 16:32:28 +02:00
spam protect - on reset clear all players and then add them again
This commit is contained in:
@@ -16,6 +16,7 @@ Global.register(
|
||||
|
||||
function Public.reset_spam_table()
|
||||
local players = game.connected_players
|
||||
this.prevent_spam = {}
|
||||
for i = 1, #players do
|
||||
local player = players[i]
|
||||
this.prevent_spam[player.index] = game.tick
|
||||
|
||||
Reference in New Issue
Block a user