working mhgen weapon list and planner

This commit is contained in:
Bryce Allen
2016-07-24 15:23:39 -05:00
parent cbcf694106
commit 4bb929e826
7 changed files with 75 additions and 30 deletions

View File

@@ -144,7 +144,9 @@ function setup_item_autocomplete(selector) {
function load_weapon_data(ready_fn) {
var DATA_PATH = get_base_path() + "/jsonapi/";
if (typeof DATA_PATH == "undefined") {
DATA_PATH = get_base_path() + "/jsonapi/";
}
$.getJSON(DATA_PATH + "weapon/_index_name.json",
function(data) {
WEAPON_NAME_IDX = data;