Skip to content

Cant access global variables from enhancements or editions #1153

@RandomsongV2

Description

@RandomsongV2

Crash when trying to reach global variable from SMODS.Enhancement's or SMODS.Edition's loc_vars

example:
SMODS.Enhancement { key = 'example', loc_txt = {name = "example", text = {"example"}}, loc_vars = function(self) info_queue[#info_queue + 1] = G.P_CENTERS.j_joker return true end }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions