- Code: Select all
var currentSession = ".";
- Code: Select all
var currentSession = 0;
Will allow map.html to also be used directly inside a particular (other) map-session folder. (by just dropping a copy of the map.html file from the map-sessions root folder into a specific map-session folder, and running that copy.)
(should also work for a shortcut(windows) to map.html, as long as the working folder in the shortcut is not set.)
[Edits: Title adjust]