Merge pull request #13057 from Citadel-Station-13/silicons-patch-79

Fixes telekinesis being able to be used to wield objects
This commit is contained in:
Lin
2020-08-08 12:02:10 -05:00
committed by GitHub
+2
View File
@@ -105,6 +105,8 @@
/// Triggered on attack self of the item containing the component
/datum/component/two_handed/proc/on_attack_self(datum/source, mob/user)
if(!user.is_holding(parent))
return //give no quarter to telekinesis powergaemrs (telekinetic wielding will desync the offhand and result in all sorts of bugs so no until someone codes it properly)
if(wielded)
unwield(user)
else