Skip to content

Commit

Permalink
Time display fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DPStokes committed Nov 21, 2011
1 parent e608e1e commit 3762f4b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions GameEngine/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function procMtime($time, $pref = 3) {
break;
}*/

$time=3600*7;
//$time=3600*7;

if (date('Ymd',time()) == date('Ymd',$time)) {
//if ((time()-$time) < 24*60*60 && (time()-$time) > 0) {
Expand All @@ -125,11 +125,12 @@ public function procMtime($time, $pref = 3) {
}
}
$new = date("H:i",$time);
if ($pref=="9"||$pref==9)

if ($pref=="9"||$pref==9) {
return $new;
else
} else {
return array($day,$new);

}
}

public function getBaseID($x,$y) {
Expand Down

0 comments on commit 3762f4b

Please sign in to comment.