[Klonan] [0.17.63] Calling silo-script.on_event throws error

This subforum contains all the issues which we already resolved.
Hornwitser
Fast Inserter
Fast Inserter
Posts: 214
Joined: Fri Oct 05, 2018 4:34 pm
Contact:

[Klonan] [0.17.63] Calling silo-script.on_event throws error

Post by Hornwitser »

The changes to silo-script broke on_event in it. Which is used by the Hotpatch mod (mostly because the embedded freeplay code is outdated in it).

The script_events were moved to silo_script.events, but silo_script.on_event still references script_events See
https://github.com/wube/factorio-data/c ... 7f5e0eR316
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5266
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [Klonan] [0.17.63] Calling silo-script.on_event throws error

Post by Klonan »

Thanks for the report,

We don't use that function in the base game now, so I didn't see it

I would suggest to move away from using it in your script, and use the generic event handler I added for these libs

But nevertheless, I have fixed it for the next release
Post Reply

Return to “Resolved Problems and Bugs”