mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
[SEMI-MODULAR] Adds an override to allow the use of icon2html RARELY when we need it, fixing in the same swoop the in-game GAGS coloring screen (#7615)
* Adds an override to allow the use of icon2html in rare cases * That should've been properly documented as SKYRAT EDIT, whoops
This commit is contained in:
@@ -240,16 +240,26 @@ This is highly likely to cause a lag spike for a few seconds."},
|
||||
var/list/step_data = data["steps"][step]
|
||||
var/image/layer = image(step)
|
||||
var/image/result = step_data["result"]
|
||||
// SKYRAT EDIT BEGIN - Bringing back the GAGS coloring menu - ORIGINAL:
|
||||
/*
|
||||
steps += list(
|
||||
list(
|
||||
"layer"=icon2html(layer, user, dir=sprite_dir, sourceonly=TRUE),
|
||||
"result"=icon2html(result, user, dir=sprite_dir, sourceonly=TRUE),
|
||||
"layer"=icon2html(layer, user, dir=sprite_dir, sourceonly=TRUE, override_skyrat = TRUE),
|
||||
"result"=icon2html(result, user, dir=sprite_dir, sourceonly=TRUE, override_skyrat = TRUE),
|
||||
"config_name"=step_data["config_name"]
|
||||
)
|
||||
)*/
|
||||
steps += list(
|
||||
list(
|
||||
"layer"=icon2html(layer, user, dir=sprite_dir, sourceonly=TRUE, override_skyrat = TRUE),
|
||||
"result"=icon2html(result, user, dir=sprite_dir, sourceonly=TRUE, override_skyrat = TRUE),
|
||||
"config_name"=step_data["config_name"]
|
||||
)
|
||||
)
|
||||
// SKYRAT EDIT END
|
||||
|
||||
sprite_data["time_spent"] = TICK_DELTA_TO_MS(time_spent)
|
||||
sprite_data["finished"] = icon2html(finished, user, dir=sprite_dir, sourceonly=TRUE)
|
||||
sprite_data["finished"] = icon2html(finished, user, dir=sprite_dir, sourceonly=TRUE, override_skyrat = TRUE)
|
||||
refreshing = FALSE
|
||||
|
||||
/datum/greyscale_modify_menu/proc/Unlock()
|
||||
|
||||
Reference in New Issue
Block a user