Lowered sv_maxspeed to work around a CS:S bug with spectator. Fixed a rare case where removing weapons didn't work.
This commit is contained in:
parent
33a396af02
commit
bd4d7776c4
@ -12,8 +12,8 @@
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
// The max speed of any player in the server (250 is normal speed). This is just a speed limit, and not the real players' speed.
|
// The max speed of any player in the server (250 is normal speed). This is just a speed limit, and not the real players' speed.
|
||||||
// Default: "2000"
|
// Default: "1000"
|
||||||
sv_maxspeed 2000
|
sv_maxspeed 1000
|
||||||
|
|
||||||
// Amount of time, in minutes, zombies have to infect all humans.
|
// Amount of time, in minutes, zombies have to infect all humans.
|
||||||
// Default: "5"
|
// Default: "5"
|
||||||
|
@ -877,6 +877,7 @@ stock WeaponsRemoveAllClientWeapons(client, bool:weaponsdrop)
|
|||||||
{
|
{
|
||||||
// Strip knife.
|
// Strip knife.
|
||||||
RemovePlayerItem(client, weapons[x]);
|
RemovePlayerItem(client, weapons[x]);
|
||||||
|
RemoveEdict(weapons[x]);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -889,6 +890,7 @@ stock WeaponsRemoveAllClientWeapons(client, bool:weaponsdrop)
|
|||||||
{
|
{
|
||||||
// Strip weapon.
|
// Strip weapon.
|
||||||
RemovePlayerItem(client, weapons[x]);
|
RemovePlayerItem(client, weapons[x]);
|
||||||
|
RemoveEdict(weapons[x]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user