mirror of
https://github.com/KabKebab/GS13.git
synced 2026-08-21 20:16:18 +01:00
Merge pull request #9589 from Ghommie/Ghommie-cit259
Porting GetComponent macros removal, and few other updates.
This commit is contained in:
@@ -41,7 +41,7 @@ GLOBAL_LIST_INIT(blacklisted_automated_baseturfs, typecacheof(list(
|
||||
/turf/open/copyTurf(turf/T, copy_air = FALSE)
|
||||
. = ..()
|
||||
if (isopenturf(T))
|
||||
GET_COMPONENT(slip, /datum/component/wet_floor)
|
||||
var/datum/component/wet_floor/slip = GetComponent(/datum/component/wet_floor)
|
||||
if(slip)
|
||||
var/datum/component/wet_floor/WF = T.AddComponent(/datum/component/wet_floor)
|
||||
WF.InheritComponent(slip)
|
||||
|
||||
Reference in New Issue
Block a user