[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:
CHOMPStation2StaffMirrorBot
2025-04-21 19:16:48 +02:00
committed by GitHub
co-authored by Selis Kashargul
parent a7718c6177
commit f04f992cfe
474 changed files with 1401 additions and 1421 deletions
+2 -2
View File
@@ -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