mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
Merge pull request #5528 from Heroman3003/demotion
Replaces "Terminated" with "Dismissed" as default rank removal
This commit is contained in:
@@ -279,7 +279,7 @@
|
||||
|
||||
if ("terminate")
|
||||
if (is_authenticated())
|
||||
modify.assignment = "Terminated"
|
||||
modify.assignment = "Dismissed" //VOREStation Edit: setting adjustment
|
||||
modify.access = list()
|
||||
|
||||
callHook("terminate_employee", list(modify))
|
||||
|
||||
@@ -167,7 +167,7 @@
|
||||
computer.proc_eject_id(user)
|
||||
if("terminate")
|
||||
if(computer && can_run(user, 1))
|
||||
id_card.assignment = "Terminated"
|
||||
id_card.assignment = "Dismissed" //VOREStation Edit: setting adjustment
|
||||
id_card.access = list()
|
||||
callHook("terminate_employee", list(id_card))
|
||||
if("edit")
|
||||
|
||||
Reference in New Issue
Block a user