Use add timer instead of a spawn

This commit is contained in:
Couls
2019-08-27 20:11:29 -04:00
parent 977433af5f
commit 1f3762facb
+1 -2
View File
@@ -179,8 +179,7 @@
else if(G.can_trigger_gun(user))
bonus_spread += 24 * G.weapon_weight
loop_counter++
spawn(loop_counter)
G.process_fire(target,user,1,params, null, bonus_spread)
addtimer(CALLBACK(G, .proc/process_fire, target, user, 1, params, null, bonus_spread), loop_counter)
process_fire(target,user,1,params, null, bonus_spread)