|
13 | 13 | "type" = "servershutdown", |
14 | 14 | "timestamp" = rustg_unix_timestamp(), |
15 | 15 | "roundid" = GLOB.round_id, |
16 | | - "round_timer" = ROUND_TIME(), |
| 16 | + "round_timer" = round_timestamp(), |
17 | 17 | "map" = SSmapping.current_map?.map_name, |
18 | 18 | "playercount" = length(GLOB.clients), |
19 | 19 | "restart_type" = isnull(restart_type_override) ? restart_type : restart_type_override, |
|
54 | 54 | "type" = "roundend", |
55 | 55 | "timestamp" = rustg_unix_timestamp(), |
56 | 56 | "roundid" = GLOB.round_id, |
57 | | - "round_timer" = ROUND_TIME(), |
| 57 | + "round_timer" = round_timestamp(), |
58 | 58 | "map" = SSmapping.current_map?.map_name, |
59 | 59 | "nextmap" = SSmap_vote.next_map_config?.map_name, |
60 | 60 | "playercount" = length(GLOB.clients), |
|
115 | 115 | "type" = "mcalert", |
116 | 116 | "timestamp" = rustg_unix_timestamp(), |
117 | 117 | "roundid" = GLOB.round_id, |
118 | | - "round_timer" = ROUND_TIME(), |
| 118 | + "round_timer" = round_timestamp(), |
119 | 119 | "map" = SSmapping.current_map?.map_name, |
120 | 120 | "playercount" = length(GLOB.clients), |
121 | 121 | "playerstring" = "**Total**: [length(GLOB.clients)], **Living**: [length(GLOB.alive_player_list)], **Dead**: [length(GLOB.dead_player_list)], **Observers**: [length(GLOB.current_observers_list)]", |
|
140 | 140 | http_fireandforget("atickets/new", list( |
141 | 141 | "id" = ticket.id, |
142 | 142 | "roundid" = GLOB.round_id, |
143 | | - "round_timer" = ROUND_TIME(), |
| 143 | + "round_timer" = round_timestamp(), |
144 | 144 | "world_time" = world.time, |
145 | 145 | "name" = ticket.name, |
146 | 146 | "ckey" = ticket.initiator_ckey, |
|
226 | 226 | "ckey" = ticket.owner_ckey, |
227 | 227 | "key_name" = ticket.owner_name, |
228 | 228 | "roundid" = GLOB.round_id, |
229 | | - "round_timer" = ROUND_TIME(), |
| 229 | + "round_timer" = round_timestamp(), |
230 | 230 | "world_time" = world.time, |
231 | 231 | "opened_at" = rustg_unix_timestamp(), |
232 | 232 | // "icon_b64" = icon2base64(getFlatIcon(ticket.owner.mob, SOUTH, no_anim = TRUE)), |
|
240 | 240 | "ckey" = tomob.ckey, |
241 | 241 | "key_name" = tomob.key, |
242 | 242 | "roundid" = GLOB.round_id, |
243 | | - "round_timer" = ROUND_TIME(), |
| 243 | + "round_timer" = round_timestamp(), |
244 | 244 | "world_time" = world.time, |
245 | 245 | "timestamp" = rustg_unix_timestamp(), |
246 | 246 | // "icon_b64" = icon2base64(getFlatIcon(frommob, SOUTH, no_anim = TRUE)), |
|
0 commit comments