emscripten: add emscripten platform support (#720)
This commit is contained in:
parent
e37cbb89a5
commit
4a57df3a45
4 changed files with 25 additions and 9 deletions
|
|
@ -434,7 +434,7 @@ StringRef BotStorage::getRunningPath () {
|
|||
static String path {};
|
||||
|
||||
// we're do not do relative (against bot's library) paths on android
|
||||
if (plat.android) {
|
||||
if (plat.android || plat.emscripten) {
|
||||
if (path.empty ()) {
|
||||
path = strings.joinPath (game.getRunningModName (), folders.addons, folders.bot);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue