rlgterm.js: display the game's proper name when starting.
This commit is contained in:
parent
931bc5cb87
commit
f1c5196829
1 changed files with 1 additions and 1 deletions
|
|
@ -779,7 +779,7 @@ function wsStart(game) {
|
||||||
var msgObject = JSON.parse(event.data);
|
var msgObject = JSON.parse(event.data);
|
||||||
if (msgObject.t == 's') {
|
if (msgObject.t == 's') {
|
||||||
termemu.resize(msgObject.h, msgObject.w);
|
termemu.resize(msgObject.h, msgObject.w);
|
||||||
message("You are now playing " + msgObject.g + ".");
|
message("You are now playing " + games[msgObject.g].name + ".");
|
||||||
}
|
}
|
||||||
else if (msgObject.t == 'd') {
|
else if (msgObject.t == 'd') {
|
||||||
writeData(msgObject.d);
|
writeData(msgObject.d);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue