diff options
| author | stonedDiscord <Tukz@gmx.de> | 2022-03-23 22:25:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-23 22:25:15 +0100 |
| commit | ffa23343e0a0badd9e50a005359fdb79efead995 (patch) | |
| tree | b5991b499685bd94890fae7f321570044fafaf2c /webAO/client.js | |
| parent | 30b4e3e8c84ce3f980fe895d4c64800fc7f00ece (diff) | |
| parent | 93212647c7775358ecd7366423d706a5efae95dc (diff) | |
Merge pull request #128 from AttorneyOnline/sypetcript
Sypetcript
Diffstat (limited to 'webAO/client.js')
| -rw-r--r-- | webAO/client.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webAO/client.js b/webAO/client.js index dfba169..6a2947c 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -9,7 +9,7 @@ import { EventEmitter } from 'events'; import fileExistsSync from './utils/fileExistsSync'; import { escapeChat, encodeChat, prepChat, safeTags, -} from './encoding.js'; +} from './encoding'; import mlConfig from './utils/aoml'; // Load some defaults for the background and evidence dropdowns import vanilla_character_arr from './constants/characters.js'; @@ -2957,7 +2957,7 @@ window.updateActionCommands = updateActionCommands; */ export function changeBackgroundOOC() { const selectedBG = document.getElementById('bg_select'); - const changeBGCommand = document.getElementById('bg_command').value; + const changeBGCommand = "bg $1"; const bgFilename = document.getElementById('bg_filename'); let filename = ''; @@ -2987,7 +2987,7 @@ window.changeRoleOOC = changeRoleOOC; * Random character via OOC. */ export function randomCharacterOOC() { - client.sendOOC(`/${document.getElementById('randomchar_command').value}`); + client.sendOOC(`/randomchar`); } window.randomCharacterOOC = randomCharacterOOC; |
