Ticket #4459: instant_reveal_cheaters_alpha21.patch

File instant_reveal_cheaters_alpha21.patch, 424 bytes (added by elexis, 7 years ago)

Display an error message in alpha 21 if a player uses this exploit.

  • helpers/Commands.js

     
    275275            return;
    276276        }
    277277
     278        if (isNaN(+cmd.count) || Math.round(+cmd.count) != +cmd.count)
     279            error("Player "+ player + " is using the batch train exploit!");
     280
    278281        for (let ent of data.entities)
    279282        {
    280283            if (unitCategory)