mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
Ghosts can no longer extract cells from items. (#5888)
This commit is contained in:
@@ -144,6 +144,9 @@ component_cell_out_of_charge/component_cell_removed proc using loc where necessa
|
||||
if(!cell_can_be_removed)
|
||||
return
|
||||
|
||||
if(!isliving(user))
|
||||
return
|
||||
|
||||
if(inserted_cell)
|
||||
to_chat(user, "<span class='notice'>You remove [inserted_cell] from [equipment]!</span>")
|
||||
playsound(equipment, 'sound/weapons/magout.ogg', 40, TRUE)
|
||||
|
||||
Reference in New Issue
Block a user