Skip to content

opendream_compiletimereadonly doesn't work inside proc code #2540

@Toastical

Description

@Toastical
/turf/Initialize(mapload)
	src.random_var = FALSE

random_var is marked as opendream_compiletimereadonly on turf inside DMStandard/Types/Atoms/Turf.dm. It's caught if in an object definition, but not inside procs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CompilerInvolves the OpenDream compiler

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions