Minor fixes to Talon playhours

This commit is contained in:
Heroman
2022-07-04 15:32:38 +10:00
parent d3c467e5e8
commit 4955759fb5
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -77,7 +77,8 @@ SUBSYSTEM_DEF(persist)
play_hours[department_earning] = wait_in_hours
// Cap it
dept_hours[department_earning] = min(config.pto_cap, dept_hours[department_earning])
if(!(J.playtime_only))
dept_hours[department_earning] = min(config.pto_cap, dept_hours[department_earning])
// Okay we figured it out, lets update database!
var/sql_ckey = sql_sanitize_text(C.ckey)