From 6bf7df8131428c6606abe0392017408d2fb39518 Mon Sep 17 00:00:00 2001 From: SteelSlayer Date: Tue, 9 Jun 2020 16:56:29 -0500 Subject: [PATCH] review tweaks --- code/datums/components/slippery.dm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/datums/components/slippery.dm b/code/datums/components/slippery.dm index baa93513f0a..3e505eb0a8a 100644 --- a/code/datums/components/slippery.dm +++ b/code/datums/components/slippery.dm @@ -25,9 +25,8 @@ /// The verb that players will see when someone slips on the parent. In the form of "You [slip_verb]ped on". var/slip_verb -/datum/component/slippery/Initialize(_description, _stun = 0, _weaken = 0, _slip_chance = 100, _slip_tiles = 0, \ - _walking_is_safe = TRUE, _noslip_is_immune = TRUE, _slip_verb = "slip") - if(!ismovable(parent)) +/datum/component/slippery/Initialize(_description, _stun = 0, _weaken = 0, _slip_chance = 100, _slip_tiles = 0, _walking_is_safe = TRUE, _noslip_is_immune = TRUE, _slip_verb = "slip") + if(!isatom(parent)) return COMPONENT_INCOMPATIBLE description = _description