mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
Fixes numbered contents grouping different things
Also fixes a runtime from the black powder fix. Whoops!
This commit is contained in:
@@ -207,7 +207,7 @@
|
||||
for(var/obj/item/I in contents)
|
||||
var/found = 0
|
||||
for(var/datum/numbered_display/ND in numbered_contents)
|
||||
if(ND.sample_object.type == I.type)
|
||||
if(ND.sample_object.type == I.type && ND.sample_object.name == I.name)
|
||||
ND.number++
|
||||
found = 1
|
||||
break
|
||||
|
||||
@@ -208,7 +208,8 @@ datum/reagent/blackpowder/reaction_turf(var/turf/T, var/volume) //oh shit
|
||||
explosion(T,ex_severe,ex_heavy,ex_light,ex_flash, 1)
|
||||
// If this black powder is in a decal, remove the decal, because it just exploded
|
||||
if(istype(holder.my_atom, /obj/effect/decal/cleanable/dirt/blackpowder))
|
||||
qdel(holder.my_atom)
|
||||
spawn(0)
|
||||
qdel(holder.my_atom)
|
||||
return
|
||||
|
||||
/datum/reagent/flash_powder
|
||||
|
||||
Reference in New Issue
Block a user