fix some issues (#17362)

* fix some issues

* .
This commit is contained in:
Kashargul
2025-03-16 16:01:30 +01:00
committed by GitHub
parent de3174cca5
commit 47b71270a9
9 changed files with 9 additions and 14 deletions
@@ -43,7 +43,7 @@
for(var/obj/item/organ/E in H.bad_external_organs) // Fix bones
var/obj/item/organ/external/affected = E
if((affected.damage < affected.min_broken_damage * config.organ_health_multiplier) && (affected.status & ORGAN_BROKEN))
if((affected.damage < affected.min_broken_damage * CONFIG_GET(number/organ_health_multiplier)) && (affected.status & ORGAN_BROKEN))
affected.status &= ~ORGAN_BROKEN
for(var/datum/wound/W in affected.wounds) // Fix IB
+1 -1
View File
@@ -270,7 +270,7 @@
req_component_names[ct] = initial(ct.name)
/obj/structure/frame/Initialize(mapload, var/dir, var/building = 0, var/datum/frame/frame_types/type, mob/user as mob)
..()
. = ..()
if(building)
frame_type = type
state = FRAME_PLACED
@@ -110,10 +110,7 @@
var/datum/looping_sound/supermatter/soundloop
/obj/machinery/power/supermatter/Initialize(mapload)
. = ..()
uid = gl_uid++
/obj/machinery/power/supermatter/Initialize(mapload)
soundloop = new(list(src), TRUE)
return ..()