GarageGames/Torque2D — pull request #224 by lukaspj (2014-07-12 15:42:46+00:00)
Title: Now handles 'NULL' values as empty strings

An attempt at fixing #79.

Reasoning for this change:

Since writeDataFn should catch it if NULL was an illegal value that shouldn't be written, and if writeDefaults is true we want to write everything, even empty fields, then we can assume that we want to replace the null-value with something to represent the null-value, and since the TorqueScript equivalent of NULL is an empty string, this change seems to make sense.