|
From: Alexander H. <ba...@us...> - 2009-04-07 17:29:04
|
Update of /cvsroot/phgstats/phgstats/classes/phgslib/protocols In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv29225/classes/phgslib/protocols Modified Files: prtcl_gsp.class.php Log Message: support of more than only one player score type Index: prtcl_gsp.class.php =================================================================== RCS file: /cvsroot/phgstats/phgstats/classes/phgslib/protocols/prtcl_gsp.class.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** prtcl_gsp.class.php 7 Apr 2009 16:56:31 -0000 1.5 --- prtcl_gsp.class.php 7 Apr 2009 17:28:47 -0000 1.6 *************** *** 172,176 **** $this->players[$index]['name'] = $this->rules["player_$index"]; $this->players[$index]['name_clr'] = $this->players[$index]['name']; ! $this->players[$index]['score'] = $this->rules["score_$index"]; $this->players[$index]['ping'] = ($this->rules["ping_$index"] != '') ? $this->rules["ping_$index"] : 0; //$this->players[$index]['ping_clr'] = $this->_check_color($this->players[$index]['ping'], 2); --- 172,177 ---- $this->players[$index]['name'] = $this->rules["player_$index"]; $this->players[$index]['name_clr'] = $this->players[$index]['name']; ! $this->players[$index]['score'] = isset($this->rules["score_$index"]) ! ? $this->rules["score_$index"] : $this->rules["frags_$index"]; $this->players[$index]['ping'] = ($this->rules["ping_$index"] != '') ? $this->rules["ping_$index"] : 0; //$this->players[$index]['ping_clr'] = $this->_check_color($this->players[$index]['ping'], 2); |