Skip to content

Commit

Permalink
updated for protocol change in game.js. Now getting bad data from ser…
Browse files Browse the repository at this point in the history
…ver on line 39 of game.js but I dont know whats bad about it
  • Loading branch information
Anne Ogborn committed Feb 19, 2017
1 parent 427f012 commit d4d904d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Our Ludum Dare entry

## Installing Francs Tireurs

Install pack plchatscript with

pack_install(plchatscript).

You'll need to install chatscript from chatscript.sourceforge.net

It comes with binaries for linux 32 and 64 and windows.exe
Expand Down
3 changes: 2 additions & 1 deletion js/game.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function makeQuery(goal) {
ask: goal,
template: "X",
onsuccess: function() {
var js = this.data[0].functor;
var js = this.data[0];
eval(js);
},
onerror: function() {
Expand Down Expand Up @@ -142,3 +142,4 @@ function clearAll() {
$("#invList").empty();
}


0 comments on commit d4d904d

Please sign in to comment.