mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
* Consolidates datum var location * Move ui_screen to /datum/tgui * Move focusers to datum.dm. Move fingerprintslast to /atom * Remove focusers list, makes mobs check if their focus is QDELETED in Life() * Consolidate use_tag and var_edited into datum_flags * Revert garbage comment * Thought I already removed this * Remove the var_edited preservation * Removes focus QDELETED handling
9 lines
254 B
Plaintext
9 lines
254 B
Plaintext
/mob
|
|
var/datum/focus //What receives our keyboard inputs. src by default
|
|
|
|
/mob/proc/set_focus(datum/new_focus)
|
|
if(focus == new_focus)
|
|
return
|
|
focus = new_focus
|
|
reset_perspective(focus) //Maybe this should be done manually? You figure it out, reader
|