mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-01 21:13:07 +00:00
Removes deadringer cloak exploit
Nothing would uncloak you, you could just stab people with impunity for quite a while. Not exactly true to the other cloaks in the game, plus the TF2 original where you can't attack.
This commit is contained in:
@@ -63,6 +63,8 @@
|
||||
for(var/obj/item/rig_module/stealth_field/cloaker in suit.installed_modules)
|
||||
if(cloaker.active)
|
||||
cloaker.deactivate()
|
||||
for(var/obj/item/weapon/deadringer/dr in src)
|
||||
dr.uncloak()
|
||||
|
||||
/mob/living/carbon/human/is_cloaked()
|
||||
if(mind && mind.changeling && mind.changeling.cloaked) // Ling camo.
|
||||
@@ -72,6 +74,9 @@
|
||||
for(var/obj/item/rig_module/stealth_field/cloaker in suit.installed_modules)
|
||||
if(cloaker.active)
|
||||
return TRUE
|
||||
for(var/obj/item/weapon/deadringer/dr in src)
|
||||
if(dr.timer > 20)
|
||||
return TRUE
|
||||
return ..()
|
||||
|
||||
/mob/living/carbon/human/get_ear_protection()
|
||||
|
||||
Reference in New Issue
Block a user