Merge pull request #1053 from tigercat2000/SpaceWeaponpodPod

FIX: Spacepod null weapon firing runtime
This commit is contained in:
ZomgPonies
2015-05-14 09:05:19 -04:00
+3
View File
@@ -788,6 +788,9 @@
set desc = "Fire the weapons."
set category = "Spacepod"
set src = usr.loc
if(!equipment_system.weapon_system)
usr << "<span class='warning'>\The [src] has no weapons!</span>"
return
equipment_system.weapon_system.fire_weapons()
obj/spacepod/verb/toggleLights()