From 2a8fad7554e7eacbdcf537ecb2db4b79f9b7decd Mon Sep 17 00:00:00 2001 From: walterhiggins Date: Tue, 1 Jan 2013 21:11:25 +0000 Subject: [PATCH] Moved scripts to example_scripts directory. --- example_scripts/cottage.js | 2 +- example_scripts/fort.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example_scripts/cottage.js b/example_scripts/cottage.js index 077c151..9196d77 100644 --- a/example_scripts/cottage.js +++ b/example_scripts/cottage.js @@ -7,7 +7,7 @@ // $SCRIPT is a special javascript variable whose value is the full name of the current script. // var scriptDir = $SCRIPT_DIR; -load(scriptDir + "/drone.js"); // assumes cottage.js and drone.js are in same directory +load(scriptDir + "/../drone.js"); // assumes cottage.js and drone.js are in same directory // // usage: // [1] to build a cottage at the player's current location or the cross-hairs location... diff --git a/example_scripts/fort.js b/example_scripts/fort.js index 83b0c97..494dc1e 100644 --- a/example_scripts/fort.js +++ b/example_scripts/fort.js @@ -1,4 +1,4 @@ -load($SCRIPT_DIR + "/drone.js"); +load($SCRIPT_DIR + "/../drone.js"); // // constructs a medieval fort //