forked from mirror/openmw-tes3mp
Avoid sending packets for 2 more ingame scripts
This commit is contained in:
parent
c99c3b1486
commit
47854d631b
1 changed files with 5 additions and 2 deletions
|
@ -230,7 +230,7 @@ void Main::PressedKey(int key)
|
|||
// should be ignored because of their potential for spam
|
||||
bool Main::isValidPacketScript(std::string script)
|
||||
{
|
||||
static const int invalidPacketScriptsCount = 5;
|
||||
static const int invalidPacketScriptsCount = 7;
|
||||
static const std::string invalidPacketScripts[invalidPacketScriptsCount] = {
|
||||
// Spammy shorts
|
||||
"OutsideBanner",
|
||||
|
@ -238,7 +238,10 @@ bool Main::isValidPacketScript(std::string script)
|
|||
"dreamer_talkerEnable",
|
||||
// Spammy floats
|
||||
"Float",
|
||||
"SignRotate"
|
||||
"SignRotate",
|
||||
// Spammy globals leading to crashes
|
||||
"LegionUniform",
|
||||
"OrdinatorUniform"
|
||||
};
|
||||
|
||||
for (int i = 0; i < invalidPacketScriptsCount; i++)
|
||||
|
|
Loading…
Reference in a new issue