mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Merge branch 'release' of https://github.com/VOREStation/VOREStation into izac-voreupdate
This commit is contained in:
@@ -325,11 +325,13 @@
|
||||
|
||||
// VOREStation Edit Start - Department Hours
|
||||
if(config.time_off)
|
||||
var/DBQuery/query_hours = dbcon.NewQuery("SELECT department, hours FROM vr_player_hours WHERE ckey = '[sql_ckey]'")
|
||||
var/DBQuery/query_hours = dbcon.NewQuery("SELECT department, hours, total_hours FROM vr_player_hours WHERE ckey = '[sql_ckey]'")
|
||||
query_hours.Execute()
|
||||
LAZYINITLIST(department_hours)
|
||||
LAZYINITLIST(play_hours)
|
||||
while(query_hours.NextRow())
|
||||
LAZYINITLIST(department_hours)
|
||||
department_hours[query_hours.item[1]] = text2num(query_hours.item[2])
|
||||
play_hours[query_hours.item[1]] = text2num(query_hours.item[3])
|
||||
// VOREStation Edit End - Department Hours
|
||||
|
||||
if(sql_id)
|
||||
|
||||
Reference in New Issue
Block a user