mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
The God Emperor lives on!
Fixes #6404 There were 2 issues here. Firstly I'm guessing that UI has grown in length since this disk was made... the UI on the disk only had a length of 24 instead of 32 which was leading to a list out of bounds runtime. Fixed with a loop adding 0x000 to the end to prevent this happening again if the UI length changes again Secondly, even though it's a UI&UE disk, the dna record on it still needed SE for it to work - Clean SE now added to it
This commit is contained in:
@@ -124,6 +124,9 @@
|
||||
buf.dna.unique_enzymes = md5(buf.dna.real_name)
|
||||
buf.dna.UI=list(0x066,0x000,0x033,0x000,0x000,0x000,0xAF0,0x000,0x000,0x000,0x000,0x000,0x000,0x000,0x000,0x000,0x033,0x066,0x0FF,0x4DB,0x002,0x690,0x000,0x000)
|
||||
//buf.dna.UI=list(0x0C8,0x0C8,0x0C8,0x0C8,0x0C8,0x0C8,0x000,0x000,0x000,0x000,0x161,0xFBD,0xDEF) // Farmer Jeff
|
||||
for(var/i in buf.dna.UI.len to DNA_UI_LENGTH)
|
||||
buf.dna.UI += 0x000
|
||||
buf.dna.ResetSE()
|
||||
buf.dna.UpdateUI()
|
||||
|
||||
/obj/item/weapon/disk/data/monkey
|
||||
|
||||
Reference in New Issue
Block a user