mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 16:32:50 +00:00
Initialize the right variable
This commit is contained in:
parent
2a489117fb
commit
cee13dc329
@ -181,7 +181,7 @@ $sumstat[2]=0;
|
||||
$sumstat[3]=0;
|
||||
$sumstat[5]=0;
|
||||
|
||||
$oldofficial = 0; //0 == official, 1 == not official
|
||||
$official = 0; //0 == official, 1 == not official
|
||||
|
||||
foreach($stats as $stat){
|
||||
$oldofficial = $official;
|
||||
|
Loading…
x
Reference in New Issue
Block a user