summaryrefslogtreecommitdiffstats
path: root/include/game.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/game.php')
-rw-r--r--include/game.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/game.php b/include/game.php
index ae7d6f7..d116049 100644
--- a/include/game.php
+++ b/include/game.php
@@ -59,6 +59,7 @@ $playid = DB_get_current_playid($gameid); /* might be -1 at beginning of the g
$PREF = DB_get_PREF(isset($_SESSION['id'])?$_SESSION['id']:$myid);
/* set language chosen in preferences, will become active on the next reload (see index.php)*/
$_SESSION['language'] = $PREF['language'];
+set_language($PREF['language']);
/* get rule set for this game */