LÖVE ported to the web using Emscripten, updated to the latest Emscripten and LÖVE (v11.5)
624
stars
28
forks
source link
Game stops when using love.filesystem.load with non-existant path instead of returning error #96
Open
seeseemelk opened 1 month ago
When running natively,
love.filesystem.load(path)
returns achunk
and an error.If the path given does not exist, chunk will be null, and the error will be something along the lines of
Could not open file {path}. Does not exist.
On love.js however, the load function will immediately halt the game. It does not gracefully handle the error in the way the native runner does.