Fixed a spy bug

+Fixed a bug that didn't permit to detect upgraded (in the blachsmith)
spies
+Changed a debug function, from public to public static
This commit is contained in:
iopietro
2018-05-15 20:55:43 +02:00
parent 95cc6180a9
commit 656bd4f970
2 changed files with 22 additions and 22 deletions
+1 -2
View File
@@ -98,7 +98,7 @@ class Logging {
global $database;
}
public function debug($debug_info, $time = 0) {
public static function debug($debug_info, $time = 0) {
global $database, $generator;
list($debug_info) = $database->escape_input($debug_info);
@@ -107,5 +107,4 @@ class Logging {
};
$logging = new Logging;
//$logging->debug(time(),2,'Logging.php loaded');
?>