Weird conditional in Military

As bugs and suggestions are fixed/implemented/rejected, they will be moved in here.
Post Reply
Veranor
FAF Co-Programmer
Posts: 310
Joined: Mon Mar 08, 2004 8:12 pm

Post by Veranor »

Before displaying who you're at war with and when you can declare peace:

if ($users[warset] && $users[warset_time] > ($time - 36 * 3600)) {

What's with the second half? That would hide it if the war was set more than 64 hours ago right?

Also... - well I stopped writing this post to go do some things and when I came back I forgot what the "also" was going to reference. Maybe it was something important, maybe it was just that I think Peace Set is done.
"The truth is a trap: you can not get it without it getting you; you cannot get the truth by capturing it, only by its capturing you." - Søren Kierkegaard
Post Reply
  • Members connected in real time

    🔒 Close the panel of connected members