Remove "performance tweaking" code.
parent
c04277b921
commit
382f047f07
|
@ -72,16 +72,6 @@ main()
|
||||||
level.seekerWeapons[6] = "p90";
|
level.seekerWeapons[6] = "p90";
|
||||||
level.seekerWeapons[7] = "famas";
|
level.seekerWeapons[7] = "famas";
|
||||||
|
|
||||||
// Time for hiders to hide before releasing seekers
|
|
||||||
// TODO - make this a dvar
|
|
||||||
|
|
||||||
// Performance tweaking
|
|
||||||
// TODO - currently does not allow more than 200 in dvar
|
|
||||||
if (getDvar("sys_cpughz") > 2)
|
|
||||||
{
|
|
||||||
setDvar("sv_network_fps", 200);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Make DVars available
|
// Make DVars available
|
||||||
level.gameType = "hns";
|
level.gameType = "hns";
|
||||||
setDvarIfUninitialized("scr_" + level.gameType + "_roundswitch", 1);
|
setDvarIfUninitialized("scr_" + level.gameType + "_roundswitch", 1);
|
||||||
|
|
Loading…
Reference in New Issue