Skip to content

Commit

Permalink
itworksedition
Browse files Browse the repository at this point in the history
  • Loading branch information
silicons committed Jun 10, 2016
1 parent c4b8dd4 commit cb907d1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 1 addition & 4 deletions code/modules/projectiles/gun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,4 @@ obj/item/weapon/gun/proc/newshot()
/obj/item/weapon/gun/burn()
if(pin)
qdel(pin)
if(power_supply)
qdel(power_supply)
SSobj.burning -= src
qdel(src)
.=..()
7 changes: 6 additions & 1 deletion code/modules/projectiles/guns/energy.dm
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,9 @@
SSobj.processing |= src
else
SSobj.processing -= src
..()
..()

/obj/item/weapon/gun/energy/burn()
if(power_supply)
qdel(power_supply)
.=..()

0 comments on commit cb907d1

Please sign in to comment.