mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +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
@@ -92,8 +92,8 @@
|
||||
egg = null
|
||||
return ..()
|
||||
|
||||
/obj/effect/mob_spawn/ghost_role/spider/process(delta_time)
|
||||
amount_grown += rand(0, 1) * delta_time
|
||||
/obj/effect/mob_spawn/ghost_role/spider/process(seconds_per_tick)
|
||||
amount_grown += rand(0, 1) * seconds_per_tick
|
||||
if(amount_grown >= 100 && !ready)
|
||||
ready = TRUE
|
||||
notify_ghosts("[src] is ready to hatch!", null, enter_link = "<a href=?src=[REF(src)];activate=1>(Click to play)</a>", source = src, action = NOTIFY_ORBIT, ignore_key = POLL_IGNORE_SPIDER)
|
||||
|
||||
Reference in New Issue
Block a user