Engine api
This commit is contained in:
@@ -25,7 +25,9 @@ export function confirm_mods(address: ServerAddress, welcome: Welcome): Promise<
|
||||
list.style.cssText = "margin:0;padding-left:20px;";
|
||||
for (const mod of welcome.mods) {
|
||||
const item = document.createElement("li");
|
||||
item.textContent = `${mod.name} ${mod.version} (${mod.id})`;
|
||||
// it can change anything about the game, not just add to it
|
||||
const access = mod.engine_access ? ", changes the engine" : "";
|
||||
item.textContent = `${mod.name} ${mod.version} (${mod.id}${access})`;
|
||||
list.append(item);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user