initial(typath.vars["a_var_name"]) is runtiming on versions above 514.1548, this worked without issues before
Numbered Steps to Reproduce Problem:
Code Snippet (if applicable) to Reproduce Problem:
var/bloop = "a bloop"
var/datum/a/datum_typepath = /datum/a
world.log << initial(datum_typepath.vars["bloop"])
you get "a bloop"
runtime error: Cannot read /datum/a (/datum/a).vars
proc name: New (/a/New)
src: /a (/a)
/a (/a): New()
Does the problem occur:
Every time? Or how often? yes
In other games? yes
In other user accounts? yes
On other computers? yes
When does the problem NOT occur?
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked?
514.1548 works for sure, 514.1554 and above runtimes. I wasn't able to pinpoint exactly what version made the change, it's between both of those
initial(typepath.thevarname) still works fine