To fix this issue replace line 14 in control.lua with the following
function hook_space_exploration()
if script.active_mods["space-exploration"] and remote.interfaces["space-exploration"] and remote.interfaces["space-exploration"]["get_on_player_respawned_event"] then
script.on_event(remote.call("space-exploration", "get_on_player_respawned_event"), function(data) far_reach_apply_settings() end)
end
end
script.on_init(
function(data)
far_reach_apply_settings()
hook_space_exploration()
end
)
script.on_load(
function(data)
hook_space_exploration()
end
)
Would have done a pull request, but your mod does not link a github and I was unable to locate one. Provided here so that others can patch their local copy to not suffer from this bug.