diff --git a/code/game/objects/effects/anomalies/anomalies_dimensional_themes.dm b/code/game/objects/effects/anomalies/anomalies_dimensional_themes.dm index 112edaec549..febda8ef11b 100644 --- a/code/game/objects/effects/anomalies/anomalies_dimensional_themes.dm +++ b/code/game/objects/effects/anomalies/anomalies_dimensional_themes.dm @@ -47,8 +47,8 @@ * * skip_sound - If the sound shouldn't be played. * * show_effect - if the temp visual effect should be shown. */ -/datum/dimension_theme/proc/apply_theme(turf/affected_turf, skip_sound = FALSE, show_effect = FALSE) - if(!replace_turf(affected_turf)) +/datum/dimension_theme/proc/apply_theme(turf/affected_turf, skip_sound = FALSE, show_effect = FALSE, reinforced = FALSE) + if(!replace_turf(affected_turf, reinforced)) return if(!skip_sound) playsound(affected_turf, sound, 100, TRUE) @@ -73,7 +73,7 @@ return TRUE return FALSE -/datum/dimension_theme/proc/replace_turf(turf/affected_turf) +/datum/dimension_theme/proc/replace_turf(turf/affected_turf, reinforced = TRUE) PROTECTED_PROC(TRUE) if(isfloorturf(affected_turf)) @@ -84,7 +84,11 @@ if(!iswall(affected_turf)) return FALSE - affected_turf.ChangeTurf(replace_walls) + var/turf/simulated/wall/thewall = affected_turf + if(thewall.reinf_material && !reinforced) + return FALSE + + thewall.ChangeTurf(replace_walls) return TRUE /** diff --git a/code/modules/research/anomaly/anomaly_core.dm b/code/modules/research/anomaly/anomaly_core.dm index ee55878dfef..ae0b693a542 100644 --- a/code/modules/research/anomaly/anomaly_core.dm +++ b/code/modules/research/anomaly/anomaly_core.dm @@ -132,7 +132,7 @@ var/datum/dimension_theme/theme = new theme_path for(var/turf/turf as anything in RANGE_TURFS(1, our_turf)) - theme.apply_theme(turf, show_effect = TRUE) + theme.apply_theme(turf, show_effect = TRUE, reinforced = FALSE) /obj/item/assembly/signaler/anomaly/bioscrambler name = "\improper bioscrambler anomaly core"