mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-20 20:54:35 +01:00
[MIRROR] Polaris Hook Removal Part 1 (#11887)
Co-authored-by: Will <7099514+Willburd@users.noreply.github.com> Co-authored-by: C.L. <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
2a35bdaac7
commit
d82d0807a5
@@ -173,7 +173,7 @@
|
||||
if(computer && program.can_run(ui.user, 1))
|
||||
id_card.assignment = "Dismissed" //VOREStation Edit: setting adjustment
|
||||
id_card.access = list()
|
||||
callHook("terminate_employee", list(id_card))
|
||||
SEND_GLOBAL_SIGNAL(COMSIG_GLOB_TERMINATE_EMPLOYEE_IDCARD, id_card)
|
||||
. = TRUE
|
||||
if("reg")
|
||||
if(computer && program.can_run(ui.user, 1))
|
||||
@@ -217,7 +217,7 @@
|
||||
id_card.assignment = t1
|
||||
id_card.rank = t1
|
||||
|
||||
callHook("reassign_employee", list(id_card))
|
||||
SEND_GLOBAL_SIGNAL(COMSIG_GLOB_REASSIGN_EMPLOYEE_IDCARD, id_card)
|
||||
. = TRUE
|
||||
if("access")
|
||||
if(computer && program.can_run(ui.user, 1))
|
||||
|
||||
Reference in New Issue
Block a user