mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Merge pull request #11121 from KillianKirilenko/kk-fixes2
Fix Agent IDs
This commit is contained in:
committed by
Chompstation Bot
parent
06d8845b5d
commit
b456b5287b
@@ -58,6 +58,8 @@
|
||||
if(choice && tgui_status(usr, state) == STATUS_INTERACTIVE)
|
||||
S.icon_state = choice.icon_state
|
||||
S.item_state = choice.item_state
|
||||
S.sprite_stack = choice.sprite_stack
|
||||
S.update_icon()
|
||||
to_chat(usr, "<span class='notice'>Appearance changed to [choice].</span>")
|
||||
. = TRUE
|
||||
if("assignment")
|
||||
@@ -127,9 +129,13 @@
|
||||
S.electronic_warfare = initial(S.electronic_warfare)
|
||||
S.fingerprint_hash = initial(S.fingerprint_hash)
|
||||
S.icon_state = initial(S.icon_state)
|
||||
S.item_state = initial(S.item_state)
|
||||
S.sprite_stack = S.initial_sprite_stack
|
||||
S.front = null
|
||||
S.name = initial(S.name)
|
||||
S.registered_name = initial(S.registered_name)
|
||||
S.unset_registered_user()
|
||||
S.sex = initial(S.sex)
|
||||
S.update_icon()
|
||||
to_chat(usr, "<span class='notice'>All information has been deleted from \the [src].</span>")
|
||||
. = TRUE
|
||||
|
||||
Reference in New Issue
Block a user