mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
This commit is contained in:
parent
502cf72a7e
commit
c87997c774
13 changed files with 134 additions and 27 deletions
|
|
@ -1,11 +1,12 @@
|
|||
define([
|
||||
"Game/Config/Settings",
|
||||
"Lib/Utilities/ColorConverter",
|
||||
"Lib/Utilities/Exception",
|
||||
"Game/Client/PointerLockManager",
|
||||
"Lib/Utilities/QuerySelector"
|
||||
],
|
||||
|
||||
function (ColorConverter, Exception, PointerLockManager, Qs) {
|
||||
function (Settings, ColorConverter, Exception, PointerLockManager, Qs) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
|
@ -29,6 +30,8 @@ function (ColorConverter, Exception, PointerLockManager, Qs) {
|
|||
if(localStorage["customname"]) {
|
||||
Qs.$("#customname").value = localStorage["customname"];
|
||||
}
|
||||
Qs.$("#scoreLimit").value = Settings.CHANNEL_DEFAULT_SCORE_LIMIT;
|
||||
Qs.$("#userLimit").value = Settings.CHANNEL_DEFAULT_MAX_USERS;
|
||||
|
||||
|
||||
Qs.$("#refresh").onclick = refresh;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue