summaryrefslogtreecommitdiffstats
path: root/src/game.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.c b/src/game.c
index ab58eb4..a98d336 100644
--- a/src/game.c
+++ b/src/game.c
@@ -16,7 +16,7 @@
* <http://www.gnu.org/licenses/>.
*/
-#include "script.h"
+#include "resources/script.h"
#include "logging.h"
#include "game.h"
@@ -37,7 +37,7 @@ game_load(const char *dirname)
err(1, "Failed to allocate game");
}
sprintf(path, "%s/%s", dirname, "init.lua");
- g->init_script = script_load(path);
+ g->init_script = script_get(path);
free(path);
return g;