Skip to content

Commit f9ca0c5

Browse files
authored
Update big_game_script.js
1 parent 6970c87 commit f9ca0c5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

static/big_game_script.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,10 @@ window.ccPorted = window.ccPorted || {};
292292
function log(...args) {
293293
console.log(`[${gameID}]: `, ...args);
294294
}
295+
function treat(text) {
296+
if (!text) return null;
297+
return text.split(".").join("-");
298+
}
295299
function shortcut(keys, cb) {
296300
log(`Creating shortcut for keys ${keys}, calling ${cb.name}`);
297301
var keyMap = {};

0 commit comments

Comments
 (0)