Skip to content

[Bug] lua setCommsFunction(commsStation) not registering the function #2796

@Xansta

Description

@Xansta

ECS compiled 18Mar2026
Test scenario: Close the gaps (scenario_50_gaps.lua)
When player ship contacts friendly station, they should see the interaction as defined by the function commsStation. Instead they get the default comms script dialog. I verified that the lua code on line 220 of place_station_scenario_utility.lua was being executed:
station:setCommsScript(""):setCommsFunction(commsStation)
I tried taking out the setCommsScript("") bit, but it did not make a difference.

My apologies if this has already been noted. I looked for an issue that resembled this and did not see one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions