sa-mp-fixes icon indicating copy to clipboard operation
sa-mp-fixes copied to clipboard

Prevents loading twice if using 'y_rconfix'

Open MatheusAgL opened this issue 3 years ago • 1 comments

Fixes an error for those who use the YSI library

MatheusAgL avatar Jul 04 '21 06:07 MatheusAgL

That won't work correctly, the define is only set when you include YSI, which must be after fixes.inc has been included. You'd need to check for the definition of another symbol like a function within y_rconfix. I'm also not sure if this is now needed as I added some extra checks to the code to detect the filterscript correctly (which should work between scripts as well).

Y-Less avatar Jul 17 '21 12:07 Y-Less