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

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

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

Post by Hornwitser » Wed Aug 07, 2019 9:03 pm

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: 3808
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

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

Post by Klonan » Thu Aug 08, 2019 9:38 am

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”

Who is online

Users browsing this forum: Bing [Bot]