Open SamTheBlow opened 11 months ago
Currently, in many different parts of the code, a loaded JSON file is used without checking if its content is valid. Because of this, one can easily edit a JSON file to cause crashes.
JSON is all loaded in one class now, so we just need to include all the necessary checks in that one class (currently named GameFromJSON)
Currently, in many different parts of the code, a loaded JSON file is used without checking if its content is valid. Because of this, one can easily edit a JSON file to cause crashes.