From 1c93b6abef5a067d64fcbed3e12e1dc929f7e345 Mon Sep 17 00:00:00 2001 From: Martin Ambrus Date: Wed, 8 Nov 2017 08:06:27 +0100 Subject: [PATCH] fix: message sending always comes from nature --- GameEngine/Alliance.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameEngine/Alliance.php b/GameEngine/Alliance.php index 3be8e244..95d94973 100755 --- a/GameEngine/Alliance.php +++ b/GameEngine/Alliance.php @@ -489,7 +489,7 @@ class Alliance { // send the new founder an in-game message, notifying them of their election $database->sendMessage( $newleader, - 1, + 2, 'You are now leader of your alliance', "Hi!\n\nThis is to inform you that the former leader of your alliance - ".$database->escape($session->username).", has decided to quit and elected you as his replacement. You now gain full access, administration and responsibilities to your alliance.\n\nGood luck!\n\nYours sincerely,\nServer Robot :)", 0,