mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Does some adjustment to _vr job things
This commit is contained in:
@@ -36,13 +36,13 @@ SUBSYSTEM_DEF(persist)
|
||||
|
||||
// Try and detect job and department of mob
|
||||
var/datum/job/J = detect_job(M)
|
||||
if(!istype(J) || !J.pto_earning || !J.timeoff_factor)
|
||||
if(!istype(J) || !J.pto_type || !J.timeoff_factor)
|
||||
if (MC_TICK_CHECK)
|
||||
return
|
||||
continue
|
||||
|
||||
// Do not collect useless PTO
|
||||
var/department_earning = J.pto_earning
|
||||
var/department_earning = J.pto_type
|
||||
clear_unused_pto(M)
|
||||
|
||||
// Update client whatever
|
||||
|
||||
Reference in New Issue
Block a user