bjornbytes / cargo

LÖVE asset manager
MIT License
163 stars 11 forks source link

Use love.filesystem.load instead of dofile for lua files #1

Closed bartbes closed 9 years ago

bartbes commented 9 years ago

dofile does not work with .love files, and does not match up to love.filesystem paths. By using love.filesystem.load, cargo follows the behaviour of require, and the rest of love.

bjornbytes commented 9 years ago

Thanks for the PR.