~armagetronad-ap/armagetronad/BattleMania

« back to all changes in this revision

Viewing changes to src/tools/debug.php

  • Committer: zodiacsohma1 at gmail
  • Date: 2014-03-02 08:09:55 UTC
  • Revision ID: zodiacsohma1@gmail.com-20140302080955-r5ot6eipfe0nlpww
Simplified all fields and code in all areas for better as they seem to repeat themselves.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    {
37
37
        foreach (Base::$base->PLAYERS as $p)
38
38
        {
39
 
            if (isset($p) && !is_null($p) && $p instanceof Player)
 
39
            if (isset($p) && $p instanceof Player)
40
40
            {
41
41
                if ($p->debug && $p->human)
42
42
                    pm($p, "0x77ff77[0xff99ff DEBUG 0x77ff77] 0x7777ff".$message);