From b96416dda7f5dc56e6d0b536fc18b27b31dcbc9d Mon Sep 17 00:00:00 2001 From: Kibi Kelburton Date: Wed, 6 May 2026 04:27:26 +0200 Subject: [PATCH] fighting the loop! --- gunfun/mod/main.gsc | 12 +++++++++++- gunfun/mod/weapons.gsc | 1 - 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gunfun/mod/main.gsc b/gunfun/mod/main.gsc index 6f3e3ef..42720f7 100755 --- a/gunfun/mod/main.gsc +++ b/gunfun/mod/main.gsc @@ -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(); @@ -1078,6 +1079,7 @@ watchVersion() watchHealthHUD() { self endon("disconnect"); + self endon("stop_watch_threads"); self endon("death"); if(isDefined(self.healthHUD)) @@ -1101,6 +1103,7 @@ watchHealthHUD() watchRegen() { self endon("disconnect"); + self endon("stop_watch_threads"); self endon("death"); while(true) @@ -1122,6 +1125,7 @@ watchRegen() watchDeagleGL() { self endon("disconnect"); + self endon("stop_watch_threads"); while(true) { self waittill("weapon_fired", weaponName); @@ -1136,14 +1140,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); @@ -1164,6 +1171,7 @@ watchHUD() watchM40A3() { self endon("disconnect"); + self endon("stop_watch_threads"); while(true) { self waittill("weapon_fired", weaponName); @@ -1184,5 +1192,7 @@ watchM40A3() wait .1; } } + else + wait .05; } } diff --git a/gunfun/mod/weapons.gsc b/gunfun/mod/weapons.gsc index b3813d3..3b544e0 100755 --- a/gunfun/mod/weapons.gsc +++ b/gunfun/mod/weapons.gsc @@ -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");