mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
12 lines
271 B
Plaintext
12 lines
271 B
Plaintext
/*
|
|
* Helper file for Exosuit / Mecha code.
|
|
*/
|
|
|
|
// Returns, at least, a usable target body position, for things like guns.
|
|
|
|
/obj/mecha/proc/get_pilot_zone_sel()
|
|
if(!occupant || !occupant.zone_sel || occupant.stat)
|
|
return BP_TORSO
|
|
|
|
return occupant.zone_sel.selecting
|