mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 15:45:25 +01:00
Fix: Bespoke DCS elements use all requested args. (#26387)
This commit is contained in:
committed by
GitHub
parent
52327cea40
commit
78ef86989f
@@ -1,4 +1,4 @@
|
||||
/datum/unit_test/bespoke_element/Run()
|
||||
for(var/datum/element/element_type as anything in subtypesof(/datum/element))
|
||||
if(initial(element_type.element_flags) & ELEMENT_BESPOKE && initial(element_type.id_arg_index) == INFINITY)
|
||||
Fail("Element type [element_type] has ELEMENT_BESPOKE and a default id_arg_index.")
|
||||
if(initial(element_type.element_flags) & ELEMENT_BESPOKE && initial(element_type.argument_hash_start_idx) == INFINITY)
|
||||
Fail("Element type [element_type] has ELEMENT_BESPOKE and a default argument_hash_start_idx.")
|
||||
|
||||
Reference in New Issue
Block a user