diff --git a/winner.php b/winner.php
index 03e35eec..99606919 100644
--- a/winner.php
+++ b/winner.php
@@ -18,6 +18,14 @@
## ##
#################################################################################
+if (!function_exists('mysqli_result')) {
+ function mysqli_result($res, $row, $field=0) {
+ $res->data_seek($row);
+ $datarow = $res->fetch_array();
+ return $datarow[$field];
+ }
+}
+
include("GameEngine/Village.php");
$start = $generator->pageLoadTimeStart();
if(isset($_GET['newdid'])) {
@@ -203,7 +211,7 @@ $q = "
The results: Day had long since passed into night, yet the workers in getMapCheck($vref)."\">$winningvillagename"; ?>,
laboured on throught the wintery eve, every wary of the countless armies marching to destroy their work, knowing that they raced against time and the greatest
- threat that had ever faced the free people. Their tireless struggles were rewared at on after a
+ threat that had ever faced the free people. Their tireless struggles were rewarded at on after a
nameless worker laid the dinal stone in what will forever known as the greatest and most magnificent creation in all of history since the fall of the Natars
Together with the alliance "$winningalliancetag"; ?>", "$username"; ?>"