mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 23:48:28 +01:00
Optimizes some functions (#24049)
* Optimizes some functions * Update code/__HELPERS/unsorted.dm Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> * Cached per AI now * no more 80k character jumpscares * parent functions exist * I need a new keyboard * Update code/modules/surgery/organs/vocal_cords.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/modules/mob/living/silicon/ai/ai_say.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/__HELPERS/game.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> * Update code/__HELPERS/game.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> --------- Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
This commit is contained in:
co-authored by
AffectedArc07
Burzah
Contrabang
S34N
parent
176e12ff04
commit
cc0eee4b4d
@@ -138,8 +138,6 @@
|
||||
var/area/where_to_move = pick(all_possible_areas) // Grabs a random area that isn't restricted
|
||||
var/turf/target_area_turfs = get_area_turfs(where_to_move) // Grabs the turfs from said area
|
||||
target_turf = pick(target_area_turfs) // Grabs a single turf from the entire list
|
||||
return
|
||||
|
||||
|
||||
/obj/singularity/energy_ball/proc/handle_energy()
|
||||
if(energy >= energy_to_raise)
|
||||
|
||||
Reference in New Issue
Block a user