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 //