OpenDream icon indicating copy to clipboard operation
OpenDream copied to clipboard

Unknown identifier with static vars

Open Hinaichigo opened this issue 2 years ago • 4 comments

Compiling /vg/station produces the following error: Error at code\modules\client\preferences\subsections\limbs.dm:28:29: Unknown identifier "peg_limb_data" at the following location in limbs.dm:

22 var/static/list/peg_limb_data = list(
23	"internal_name" = "peg",
24 	"mode" = LIMB_MODE_SPECIAL_SNOWFLAKE,
25 )
26 
27 var/static/list/leg_configurable_states = list(
28 	"Peg leg" = peg_limb_data,
29 )

Hinaichigo avatar May 30 '22 15:05 Hinaichigo

Dupe of https://github.com/wixoaGit/OpenDream/issues/693 ?

ike709 avatar May 30 '22 17:05 ike709

Dupe of #693 ?

They are static vars, nothing here is required to be constant.

wixoaGit avatar May 30 '22 17:05 wixoaGit

I didn't get a compiler error. I think this is fixed?

Altoids1 avatar Aug 20 '22 20:08 Altoids1

Yep, it seems like it.

Hinaichigo avatar Aug 26 '22 04:08 Hinaichigo