[MIRROR] More horrible 515 proc compatibility. [MDB IGNORE] (#17671)

* More horrible 515 proc compatibility.

* Feex

* Hopefully we're done now

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-11-27 14:46:36 -08:00
committed by GitHub
co-authored by AnturK GoldenAlpharex
parent ddb1513099
commit 257feb1be7
95 changed files with 124 additions and 119 deletions
@@ -65,4 +65,4 @@
laser_location.pixel_y = clamp(target.pixel_y + image_pixel_y.value,-15,15)
target_location.add_overlay(laser_location)
addtimer(CALLBACK(target_location, /atom/proc/cut_overlay, laser_location), 1 SECONDS)
addtimer(CALLBACK(target_location, TYPE_PROC_REF(/atom, cut_overlay), laser_location), 1 SECONDS)
@@ -94,6 +94,7 @@
* * index_string - Just the "1" of the %1 format, actually used.
*/
/regex/format_component/proc/process_format_component_param(match, index_string)
REGEX_REPLACE_HANDLER
// The static regex_context var is what you'd expect src to be, but src is actually the regex instance.
var/list/param_list = context.param_list_port.value
if(!islist(param_list))