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', }