New fix method: delete thrower=chassis arg

This commit is contained in:
Kyep
2017-07-14 02:34:24 -07:00
parent 57c5986760
commit 88faca369e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -237,7 +237,7 @@
pulledby.stop_pulling()
// They are moving! Wouldn't it be cool if we calculated their momentum and added it to the throw?
if(thrower && thrower.last_move && isliving(thrower) && thrower.client && thrower.client.move_delay >= world.time + world.tick_lag * 2)
if(thrower && thrower.last_move && thrower.client && thrower.client.move_delay >= world.time + world.tick_lag * 2)
var/user_momentum = thrower.movement_delay()
if(!user_momentum) // no movement_delay, this means they move once per byond tick, let's calculate from that instead
user_momentum = world.tick_lag
+1 -1
View File
@@ -348,7 +348,7 @@
if(heavy_missile)
M.heavy_missile = 1
playsound(chassis, fire_sound, 50, 1)
M.throw_at(target, missile_range, missile_speed, chassis)
M.throw_at(target, missile_range, missile_speed)
projectiles--
log_message("Fired from [name], targeting [target].")
var/turf/T = get_turf(src)