Fix spacepod weapons (#11144)

Spacepods would fire two shots from both sides facing the direction you are firing, however the second projectile would wait for the first projectile to finish before firing. So the second projectile would fire from the original location a second later, thus if you had moved forward in the second it took for the first projectile to finish firing the second projectile would collide with your spacepod and damage you.
This commit is contained in:
clusterfack
2016-07-26 15:24:57 -05:00
committed by GitHub
parent eaf6c1b36e
commit f215aac0e7

View File

@@ -46,6 +46,7 @@
spawn(0)
playsound(my_atom, fire_sound, 50, 1)
projone.dumbfire(dir)
spawn(0)
projtwo.dumbfire(dir)
sleep(1)
my_atom.next_firetime = world.time + fire_delay