From 4bb35904bf91a7054cb51949e617dc07b2c12bd2 Mon Sep 17 00:00:00 2001 From: Stefan Brannfjell Date: Wed, 29 Jan 2014 22:10:22 +0100 Subject: [PATCH] Fixed GOD in-game positions for TFS 0.2 and 1.0. Fixes issue #11 --- engine/function/users.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/function/users.php b/engine/function/users.php index c89b5b4..cc5686f 100644 --- a/engine/function/users.php +++ b/engine/function/users.php @@ -687,6 +687,8 @@ function set_ingame_position($name, $acctype) { $group_id = 2; if ($acctype == 1) { $group_id = 1; + } elseif ($acctype == 6) { + $group_id = 3; } mysql_query("UPDATE `accounts` SET `type` = '$acctype' WHERE `id` =$acc_id;"); mysql_query("UPDATE `players` SET `group_id` = '$group_id' WHERE `id` =$char_id;");