mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-24 21:57:53 +01:00
[MIRROR] code/global.dm => code/_global_vars/ (#10689)
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Selis
Kashargul
parent
a7718c6177
commit
f04f992cfe
@@ -102,7 +102,7 @@
|
||||
pda.id.rank = newjob.title
|
||||
pda.id.assignment = newassignment
|
||||
pda.id.name = text("[pda.id.registered_name]'s ID Card ([pda.id.assignment])")
|
||||
data_core.manifest_modify(pda.id.registered_name, pda.id.assignment, pda.id.rank)
|
||||
GLOB.data_core.manifest_modify(pda.id.registered_name, pda.id.assignment, pda.id.rank)
|
||||
pda.id.last_job_switch = world.time
|
||||
callHook("reassign_employee", list(pda.id))
|
||||
newjob.current_positions++
|
||||
@@ -131,7 +131,7 @@
|
||||
pda.id.rank = ptojob.title
|
||||
pda.id.assignment = ptojob.title
|
||||
pda.id.name = text("[pda.id.registered_name]'s ID Card ([pda.id.assignment])")
|
||||
data_core.manifest_modify(pda.id.registered_name, pda.id.assignment, pda.id.rank)
|
||||
GLOB.data_core.manifest_modify(pda.id.registered_name, pda.id.assignment, pda.id.rank)
|
||||
pda.id.last_job_switch = world.time
|
||||
callHook("reassign_employee", list(pda.id))
|
||||
user.mind.assigned_role = ptojob.title
|
||||
|
||||
Reference in New Issue
Block a user