[GlowColors] Implement minimal frequency.
This commit is contained in:
parent
09aa1218ac
commit
c9637a753f
@ -373,6 +373,8 @@ public Action Command_Rainbow(int client, int args)
|
||||
Frequency = StringToFloat(sArg);
|
||||
if(Frequency > 10.0)
|
||||
Frequency = 10.0;
|
||||
else if(Frequency < 0.01)
|
||||
Frequency = 0.01;
|
||||
}
|
||||
|
||||
if(!Frequency || (args < 1 && g_aRainbowFrequency[client]))
|
||||
|
Loading…
Reference in New Issue
Block a user