Randpixel initialize (#20239)

Moved all calls of randpixel_xy in Initialize() (if they were in New())
Some tweaks of the proc

This should avoid some random CI failures due to it matching shifted
pixels as dirty vars

No player facing changes
This commit is contained in:
Fluffy
2024-12-12 16:29:59 +00:00
committed by GitHub
parent f481c4e7c2
commit 4337e6cef5
4 changed files with 28 additions and 9 deletions
+2 -1
View File
@@ -18,7 +18,8 @@
var/cmineral = null
var/last_flip = 0 //Spam limiter
/obj/item/coin/New()
/obj/item/coin/Initialize(mapload)
. = ..()
randpixel_xy()
/obj/item/coin/gold