Skip to content

_ModLoaderModHookPreProcessor added a semicolon instead of a comma, resulting in a crash #596

@Drillur

Description

@Drillur

Using ModLoaderMod.install_script_hooks(); Job and Big are custom classes in the base game

The original vanilla function (in editor):

func _get_job_output(job: Job, base_output: Big) -> Dictionary[StringName, Big]:

The re-written function (in mod-hooks.zip):

func vanilla_1619663361_get_job_output(job: Job, base_output: Big) -> Dictionary[StringName, Big]:

The new function at the bottom of the script (in mod-hooks.zip):

func get_job_output(job: Job, base_output: Big) -> Dictionary[StringName;Big]:

The semicolon results in the script being unable to parse, resulting in crash. I edited the semicolon into a comma and that allowed the game to run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions