From d8414ea262e911c3acbed5192a7cca14ff72d8f9 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 8 Aug 2010 11:28:47 +0200 Subject: [PATCH] small fixes to directories and hings --- game/setup.lua | 2 +- res/catalog-example.xml | 2 +- scripts/example/modules.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/game/setup.lua b/game/setup.lua index 98012f20e..ebe6928ad 100644 --- a/game/setup.lua +++ b/game/setup.lua @@ -2,7 +2,7 @@ local srcpath = config.source_dir local respath = srcpath .. '/example/res' local paths = { 'example/scripts/?.lua', - 'server/scripts/?.lua', + 'shared/scripts/?.lua', 'external/lunit/?.lua' } diff --git a/res/catalog-example.xml b/res/catalog-example.xml index 661a6cedb..7cdc8196f 100644 --- a/res/catalog-example.xml +++ b/res/catalog-example.xml @@ -6,5 +6,5 @@ + rewritePrefix="../../shared/res/" /> diff --git a/scripts/example/modules.lua b/scripts/example/modules.lua index e03c836ce..96cbcfd58 100644 --- a/scripts/example/modules.lua +++ b/scripts/example/modules.lua @@ -2,5 +2,5 @@ require "example.rules" local srcpath = config.source_dir tests = { - srcpath .. '/server/scripts/tests/common.lua', + srcpath .. '/shared/scripts/tests/common.lua', }