Skip to content

Commit b3b2549

Browse files
committed
round_time() -> round_timestamp()
1 parent 73ca079 commit b3b2549

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

code/modules/admin/sql_ban_system.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@
651651
"admin_ckey" = admin_ckey,
652652
"admin_key_name" = key_name(usr),
653653
"round_id" = GLOB.round_id,
654-
"round_timer" = ROUND_TIME(),
654+
"round_timer" = round_timestamp(),
655655
"world_time" = world.time,
656656
)
657657

code/modules/admin/sql_message_system.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
"admin_ckey" = admin_ckey,
114114
"admin_key_name" = key_name(usr),
115115
"round_id" = GLOB.round_id,
116-
"round_timer" = ROUND_TIME(),
116+
"round_timer" = round_timestamp(),
117117
"world_time" = world.time,
118118
)
119119

modular_vcg/modules/plexora/code/widespread.dm

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"type" = "servershutdown",
1414
"timestamp" = rustg_unix_timestamp(),
1515
"roundid" = GLOB.round_id,
16-
"round_timer" = ROUND_TIME(),
16+
"round_timer" = round_timestamp(),
1717
"map" = SSmapping.current_map?.map_name,
1818
"playercount" = length(GLOB.clients),
1919
"restart_type" = isnull(restart_type_override) ? restart_type : restart_type_override,
@@ -54,7 +54,7 @@
5454
"type" = "roundend",
5555
"timestamp" = rustg_unix_timestamp(),
5656
"roundid" = GLOB.round_id,
57-
"round_timer" = ROUND_TIME(),
57+
"round_timer" = round_timestamp(),
5858
"map" = SSmapping.current_map?.map_name,
5959
"nextmap" = SSmap_vote.next_map_config?.map_name,
6060
"playercount" = length(GLOB.clients),
@@ -115,7 +115,7 @@
115115
"type" = "mcalert",
116116
"timestamp" = rustg_unix_timestamp(),
117117
"roundid" = GLOB.round_id,
118-
"round_timer" = ROUND_TIME(),
118+
"round_timer" = round_timestamp(),
119119
"map" = SSmapping.current_map?.map_name,
120120
"playercount" = length(GLOB.clients),
121121
"playerstring" = "**Total**: [length(GLOB.clients)], **Living**: [length(GLOB.alive_player_list)], **Dead**: [length(GLOB.dead_player_list)], **Observers**: [length(GLOB.current_observers_list)]",
@@ -140,7 +140,7 @@
140140
http_fireandforget("atickets/new", list(
141141
"id" = ticket.id,
142142
"roundid" = GLOB.round_id,
143-
"round_timer" = ROUND_TIME(),
143+
"round_timer" = round_timestamp(),
144144
"world_time" = world.time,
145145
"name" = ticket.name,
146146
"ckey" = ticket.initiator_ckey,
@@ -226,7 +226,7 @@
226226
"ckey" = ticket.owner_ckey,
227227
"key_name" = ticket.owner_name,
228228
"roundid" = GLOB.round_id,
229-
"round_timer" = ROUND_TIME(),
229+
"round_timer" = round_timestamp(),
230230
"world_time" = world.time,
231231
"opened_at" = rustg_unix_timestamp(),
232232
// "icon_b64" = icon2base64(getFlatIcon(ticket.owner.mob, SOUTH, no_anim = TRUE)),
@@ -240,7 +240,7 @@
240240
"ckey" = tomob.ckey,
241241
"key_name" = tomob.key,
242242
"roundid" = GLOB.round_id,
243-
"round_timer" = ROUND_TIME(),
243+
"round_timer" = round_timestamp(),
244244
"world_time" = world.time,
245245
"timestamp" = rustg_unix_timestamp(),
246246
// "icon_b64" = icon2base64(getFlatIcon(frommob, SOUTH, no_anim = TRUE)),

0 commit comments

Comments
 (0)