Couple of fixes for situations involving mechas and the clock cult gamemode (#37218)

* couple of mech fixes

* safety

* gateway, gravity gen

* Restores oingo-boingo punch-nuke
This commit is contained in:
vuonojenmustaturska
2018-04-18 09:33:31 -05:00
committed by CitadelStationBot
parent f98040513a
commit 32fe9d4fd6
7 changed files with 23 additions and 9 deletions
+2 -3
View File
@@ -50,7 +50,7 @@
playsound(chassis, fire_sound, 50, 1)
sleep(max(0, projectile_delay))
if(kickback)
chassis.newtonian_move(turn(chassis.dir,180))
chassis.log_message("Fired from [src.name], targeting [target].")
@@ -428,6 +428,5 @@
if(!..())
if(ismovableatom(hit_atom))
var/atom/movable/AM = hit_atom
AM.throw_at(get_edge_target_turf(AM,get_dir(src, AM)), 7, 2)
AM.safe_throw_at(get_edge_target_turf(AM,get_dir(src, AM)), 7, 2)
qdel(src)