mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-27 15:17:21 +01:00
Adds a better debug controller verb that can target all controllers/processes/mc/failsafe/config/etc (#5852)
This commit is contained in:
@@ -273,3 +273,11 @@
|
||||
for(var/A in value)
|
||||
if(var_source.vars.Find(A))
|
||||
. += A
|
||||
|
||||
/proc/get_end_section_of_type(type)
|
||||
var/strtype = "[type]"
|
||||
var/delim_pos = findlasttext(strtype, "/")
|
||||
if(delim_pos == 0)
|
||||
return strtype
|
||||
return copytext(strtype, delim_pos)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user