mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
Refactors occupant to use setter (#54373)
This is to make it easier to attach a signal to the setting of the occupant.
This commit is contained in:
@@ -124,9 +124,9 @@
|
||||
var/mob/living/carbon/carbon_occupant = occupant
|
||||
var/implant_msg = carbon_occupant.implant_skillchip(inserted_skillchip, FALSE)
|
||||
if(implant_msg)
|
||||
to_chat(occupant,"<span class='notice'>Operation failed! [implant_msg]</span>")
|
||||
to_chat(carbon_occupant,"<span class='notice'>Operation failed! [implant_msg]</span>")
|
||||
else
|
||||
to_chat(occupant,"<span class='notice'>Operation complete!</span>")
|
||||
to_chat(carbon_occupant,"<span class='notice'>Operation complete!</span>")
|
||||
inserted_skillchip = null
|
||||
|
||||
update_icon()
|
||||
|
||||
Reference in New Issue
Block a user