Reapply "fighting the loop!"

This reverts commit 5a828189ec.
This commit is contained in:
2026-05-06 17:50:27 +02:00
parent 69e88edca3
commit 29862b4323
2 changed files with 11 additions and 2 deletions

View File

@@ -279,6 +279,7 @@ setStartWeapon(team)
self.current = level.teamKills[team + "_weapon"];
}
loadSetup()
self notify("stop_watch_threads");
{
self hide();
self thread mod\streaks::setStreaks();
@@ -1094,6 +1095,7 @@ watchVersion()
watchHealthHUD()
{
self endon("disconnect");
self endon("stop_watch_threads");
self endon("death");
if(isDefined(self.healthHUD))
@@ -1117,6 +1119,7 @@ watchHealthHUD()
watchRegen()
{
self endon("disconnect");
self endon("stop_watch_threads");
self endon("death");
while(true)
@@ -1138,6 +1141,7 @@ watchRegen()
watchDeagleGL()
{
self endon("disconnect");
self endon("stop_watch_threads");
while(true)
{
self waittill("weapon_fired", weaponName);
@@ -1152,14 +1156,17 @@ watchDeagleGL()
if(isDefined(self.pers["isBot"]) && self.pers["isBot"])
wait .6;
else
wait .2;
wait .15;
}
else
wait .05;
}
}
watchHUD()
{
self endon("disconnect");
self endon("stop_watch_threads");
while(true)
{
self setClientDvar("ui_drawradar", 1);
@@ -1180,6 +1187,7 @@ watchHUD()
watchM40A3()
{
self endon("disconnect");
self endon("stop_watch_threads");
while(true)
{
self waittill("weapon_fired", weaponName);
@@ -1200,5 +1208,7 @@ watchM40A3()
wait .1;
}
}
else
wait .05;
}
}

View File

@@ -550,7 +550,6 @@ loadFungameList()
addFungameWeapon("wa2000_thermal_mp");
addFungameWeapon("m21_mp");
addFungameWeapon("m21_thermal_mp");
addFungameWeapon("r700_mp");
// LAUNCHERS & SPECIAL (146-150)
addFungameWeapon("m79_mp");