mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-30 03:09:22 +02:00
Fixed GOD in-game positions for TFS 0.2 and 1.0. Fixes issue #11
This commit is contained in:
parent
1e3461314b
commit
4bb35904bf
@ -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;");
|
||||
|
Loading…
x
Reference in New Issue
Block a user