mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
[MIRROR] [READY] Refactor icon smoothing to use 8-bit bitmasking (#1053)
* Merge pull request #53906 from Rohesie/smoothing [READY] Refactor icon smoothing to use 8-bit bitmasking * [READY] Refactor icon smoothing to use 8-bit bitmasking Co-authored-by: nemvar <47324920+nemvar@users.noreply.github.com>
This commit is contained in:
@@ -1108,7 +1108,8 @@ GLOBAL_LIST_INIT(hallucination_list, list(
|
||||
name = "chasm"
|
||||
|
||||
/obj/effect/hallucination/danger/chasm/show_icon()
|
||||
image = image('icons/turf/floors/Chasms.dmi',src,"smooth",TURF_LAYER)
|
||||
var/turf/target_loc = get_turf(target)
|
||||
image = image('icons/turf/floors/chasms.dmi', src, "chasms-[target_loc.smoothing_junction]", TURF_LAYER)
|
||||
if(target.client)
|
||||
target.client.images += image
|
||||
|
||||
|
||||
Reference in New Issue
Block a user