mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Fix admin-spawned custom artifacts having incorrect effect IDs. (#28796)
This commit is contained in:
committed by
GitHub
parent
ce5e3c744d
commit
cbb9878363
@@ -3691,6 +3691,7 @@
|
||||
|
||||
var/obj/machinery/artifact/custom = new /obj/machinery/artifact(get_turf(usr), null, 0)
|
||||
custom.primary_effect = new custom_primary_effect(custom)
|
||||
custom.primary_effect.artifact_id = "[custom.artifact_id]a"
|
||||
if(answer2 == "Random")
|
||||
custom.primary_effect.GenerateTrigger()
|
||||
else
|
||||
@@ -3700,6 +3701,7 @@
|
||||
|
||||
if(custom_secondary_effect)
|
||||
custom.secondary_effect = new custom_secondary_effect(custom)
|
||||
custom.secondary_effect.artifact_id = "[custom.artifact_id]b"
|
||||
if(answer2 == "Random")
|
||||
custom.secondary_effect.GenerateTrigger()
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user