mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
[MIRROR] Renames delta time to be a more obvious name [MDB IGNORE] (#20507)
* Renames delta time to be a more obvious name * updates to our code --------- Co-authored-by: oranges <email@oranges.net.nz> Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
try_eject(forced = TRUE)
|
||||
return ..()
|
||||
|
||||
/datum/computer_file/program/ai_restorer/process_tick(delta_time)
|
||||
/datum/computer_file/program/ai_restorer/process_tick(seconds_per_tick)
|
||||
. = ..()
|
||||
if(!restoring) //Put the check here so we don't check for an ai all the time
|
||||
return
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
QDEL_NULL(alert_control)
|
||||
return ..()
|
||||
|
||||
/datum/computer_file/program/alarm_monitor/process_tick(delta_time)
|
||||
/datum/computer_file/program/alarm_monitor/process_tick(seconds_per_tick)
|
||||
..()
|
||||
|
||||
if(has_alert)
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
var/error = ""
|
||||
var/executed = 0
|
||||
|
||||
/datum/computer_file/program/ntnet_dos/process_tick(delta_time)
|
||||
/datum/computer_file/program/ntnet_dos/process_tick(seconds_per_tick)
|
||||
dos_speed = 0
|
||||
switch(ntnet_status)
|
||||
if(1)
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
borgo.logevent("File request by [username]: /var/logs/syslog")
|
||||
return TRUE
|
||||
|
||||
/datum/computer_file/program/borg_monitor/process_tick(delta_time)
|
||||
/datum/computer_file/program/borg_monitor/process_tick(seconds_per_tick)
|
||||
if(!DL_source)
|
||||
DL_progress = -1
|
||||
return
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
download_completion = FALSE
|
||||
ui_header = "downloader_finished.gif"
|
||||
|
||||
/datum/computer_file/program/ntnetdownload/process_tick(delta_time)
|
||||
/datum/computer_file/program/ntnetdownload/process_tick(seconds_per_tick)
|
||||
if(!downloaded_file)
|
||||
return
|
||||
if(download_completion >= downloaded_file.size)
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
COOLDOWN_START(src, ping_cooldown, PING_COOLDOWN_TIME)
|
||||
return TRUE
|
||||
|
||||
/datum/computer_file/program/chatclient/process_tick(delta_time)
|
||||
/datum/computer_file/program/chatclient/process_tick(seconds_per_tick)
|
||||
. = ..()
|
||||
var/datum/ntnet_conversation/channel = SSmodular_computers.get_chat_channel_by_id(active_channel)
|
||||
if(program_state != PROGRAM_STATE_KILLED)
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
history["demand"] = list()
|
||||
|
||||
|
||||
/datum/computer_file/program/power_monitor/process_tick(delta_time)
|
||||
/datum/computer_file/program/power_monitor/process_tick(seconds_per_tick)
|
||||
if(!get_powernet())
|
||||
search()
|
||||
else
|
||||
|
||||
@@ -196,7 +196,7 @@
|
||||
computer.setDir(get_dir(here_turf, target_turf))
|
||||
|
||||
//We can use process_tick to restart fast processing, since the computer will be running this constantly either way.
|
||||
/datum/computer_file/program/radar/process_tick(delta_time)
|
||||
/datum/computer_file/program/radar/process_tick(seconds_per_tick)
|
||||
if(computer.active_program == src)
|
||||
START_PROCESSING(SSfastprocess, src)
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
for(var/obj/machinery/power/supermatter_crystal/S in supermatters)
|
||||
. = max(., S.get_status())
|
||||
|
||||
/datum/computer_file/program/supermatter_monitor/process_tick(delta_time)
|
||||
/datum/computer_file/program/supermatter_monitor/process_tick(seconds_per_tick)
|
||||
..()
|
||||
var/new_status = get_status()
|
||||
if(last_status != new_status)
|
||||
|
||||
Reference in New Issue
Block a user