mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 09:42:29 +00:00
* keybind signal support, ported from TGMC * Thank you linter * remove unused and extra defines * move signal defines up and fix emote keybind runtimes * Apply suggestions * Update keybinding.dm * Missed this one in the upstream merge * Ignore keybindings without names * back to the OG * Update living.dm * Update living.dm * got it * trailing newline * Update code/datums/keybinding/living.dm Co-authored-by: Rohesie <rohesie@gmail.com> Co-authored-by: Rohesie <rohesie@gmail.com>
7 lines
240 B
Plaintext
7 lines
240 B
Plaintext
/datum/unit_test/keybinding_init/Run()
|
|
for(var/i in subtypesof(/datum/keybinding))
|
|
var/datum/keybinding/KB = i
|
|
if(initial(KB.keybind_signal) || !initial(KB.name))
|
|
continue
|
|
Fail("[KB.name] does not have a keybind signal defined.")
|