Add compatiblity with mods that uses the second argument in Subs__add_integration_function()
#2382

Signed-off-by: Suki <suki@missallsunday.com>
Really, there is only so much you can do to prevent this...

Signed-off-by: Suki <suki@missallsunday.com>
Avoid using complicated ternaries.

Signed-off-by: Suki <suki@missallsunday.com>
Merge pull request #2383 from MissAllSunday/release-2.1

Add compatibility with mods that uses the second argument in add_integration