mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 18:26:11 +02:00
username is now correct
This commit is contained in:
parent
0ef37e4996
commit
3e7934767a
2 changed files with 2 additions and 8 deletions
File diff suppressed because one or more lines are too long
|
@ -17,12 +17,11 @@ Script.include("../libraries/utils.js");
|
|||
Script.include("../libraries/constants.js");
|
||||
|
||||
var gameName = "Kill All The Rats!"
|
||||
var HOST = "localhost:5000"
|
||||
// var HOST = "localhost:5000"
|
||||
var HOST = "desolate-bastion-1742.herokuapp.com";
|
||||
var socketClient = new WebSocket("ws://" + HOST);
|
||||
var username = GlobalServices.username;
|
||||
var username = "rand " + Math.floor(Math.random() * 100);
|
||||
var currentScore = 0;
|
||||
// var HOST = "desolate-bastion-1742.herokuapp.com";
|
||||
|
||||
function score() {
|
||||
currentScore++;
|
||||
|
|
Loading…
Reference in a new issue