NullSystemWorks / mtadayz

Official MTA:DayZ Repository
Other
41 stars 35 forks source link

minor fix logsystem #99

Closed fabervox closed 7 years ago

0xCiBeR commented 7 years ago

Why did you change the variable names?

fabervox commented 7 years ago

The error was in the scope, local inside if ... end is not available above. And the name of the variable has been changed, just that there were no coincidences between the names of the function and the variable, this is not necessary, but to do so as it was immediately a bad practice.

0xCiBeR commented 7 years ago

Okay, the only problem i see is that you can't close the file handler and then call a read upon it: fileClose( file ) return fileRead( file, size ) Is incorrect.