mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
[MIRROR] Allows crew kin to use rigs (#11410)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
b2b1dcd355
commit
ed24a11b5f
@@ -150,6 +150,13 @@
|
||||
var/darkness = 1
|
||||
var/dark_gains = 0
|
||||
|
||||
var/suit = owner.get_equipped_item(slot_wear_suit)
|
||||
if(istype(suit, /obj/item/clothing/suit/space))
|
||||
if(dark_energy)
|
||||
to_chat(owner, span_warning("You feel your energy waning and your powers being blocked from the heavy equipment you're wearing!"))
|
||||
dark_energy = 0
|
||||
return
|
||||
|
||||
var/turf/T = get_turf(owner)
|
||||
if(!T)
|
||||
dark_gains = 0
|
||||
|
||||
Reference in New Issue
Block a user