mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 08:37:43 +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:
co-authored by
oranges
Gandalf
parent
34b66981ce
commit
9a594755f3
@@ -34,7 +34,7 @@
|
||||
stop_process()
|
||||
return ..()
|
||||
|
||||
/obj/item/circuit_component/clock/process(delta_time)
|
||||
/obj/item/circuit_component/clock/process(seconds_per_tick)
|
||||
signal.set_output(COMPONENT_SIGNAL)
|
||||
|
||||
/**
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
// Look, I'm not happy about this either, but moving an object doesn't call Moved if it's inside something else.
|
||||
// There's good reason for this, but there's no element or similar yet to track it as far as I know.
|
||||
// SSobj runs infrequently, this is only ran while there's an attached circuit, its performance cost is negligible.
|
||||
/obj/item/usb_cable/process(delta_time)
|
||||
/obj/item/usb_cable/process(seconds_per_tick)
|
||||
if (!check_in_range())
|
||||
return PROCESS_KILL
|
||||
|
||||
|
||||
@@ -274,7 +274,7 @@
|
||||
to_chat(owner, span_info("[circuit_component.parent]'s [cell.name] has <b>[cell.percent()]%</b> charge left."))
|
||||
to_chat(owner, span_info("You can recharge it by using a cyborg recharging station."))
|
||||
|
||||
/datum/action/innate/bci_charge_action/process(delta_time)
|
||||
/datum/action/innate/bci_charge_action/process(seconds_per_tick)
|
||||
build_all_button_icons(UPDATE_BUTTON_STATUS)
|
||||
|
||||
/datum/action/innate/bci_charge_action/update_button_status(atom/movable/screen/movable/action_button/button, force = FALSE)
|
||||
|
||||
Reference in New Issue
Block a user