[MIRROR] Fixes mind magnification helmets working even when disabled (#2876)

* no return moment (#56384)

mind magnification helmets no longer work when admins have it disabled.

* Fixes mind magnification helmets working even when disabled

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-01-25 16:04:55 +01:00
committed by GitHub
parent 6f755f05e3
commit b26356fdf5
+1
View File
@@ -423,6 +423,7 @@
return
if(!(GLOB.ghost_role_flags & GHOSTROLE_STATION_SENTIENCE))
say("ERROR: Central Command has temporarily outlawed monkey sentience helmets in this sector. NEAREST LAWFUL SECTOR: 2.537 million light years away.")
return
magnification = user //this polls ghosts
visible_message("<span class='warning'>[src] powers up!</span>")
playsound(src, 'sound/machines/ping.ogg', 30, TRUE)