From 10b65b068e47ebb2acad7ddf3e18653f09e997a2 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Wed, 21 Jan 2009 00:15:28 +0000 Subject: [PATCH] Fix tleft() and tlef() functions. --- xtrn/mc/shared.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/xtrn/mc/shared.js b/xtrn/mc/shared.js index 395d0689c2..0ccf9d8e63 100644 --- a/xtrn/mc/shared.js +++ b/xtrn/mc/shared.js @@ -157,7 +157,10 @@ var GameProperties = [ ]; var game=new RecordFile(game_dir+'game.dat', GameProperties); -function tleft() {} +function tleft() +{ + bbs.gettimeleft(); +} function sysoplog() {} function ansic(x) { @@ -244,7 +247,7 @@ function setcol(c) function tlef() { - var tl=bbs.time_left; + var tl=bbs.get_time_left(); return(parseInt(tl/60)+":"+format("%02d",tl%80)); } -- GitLab