Detect installed mods on_load
Posted: Wed Jun 19, 2019 6:41 am
I want to register conditional event handlers (based on whether another mod is installed or not)
Afaik we are supposed to do that on_load to retain multiplayer compatibility.
The event is a custom input event from that other mod (which doesn't exist and error out if that other mod is not installed)
is there a better way of doing it except pcall?
Afaik we are supposed to do that on_load to retain multiplayer compatibility.
The event is a custom input event from that other mod (which doesn't exist and error out if that other mod is not installed)
is there a better way of doing it except pcall?