try fix faction invite

This commit is contained in:
hydrant
2019-05-09 17:07:43 +02:00
parent 2c4b6e364a
commit c18b6b6fad
10 changed files with 57 additions and 17 deletions

View File

@@ -53,7 +53,7 @@ export default function (globalData: GlobalData) {
menu.ItemSelect.on((item, index) => {
if (index === 0) { // Gruppe
var input = new InputHelper("Wie soll die Gruppe heißen?");
var input = new InputHelper("Wie soll die Gruppe heißen?", globalData);
input.show();
input.getValue((name: string) => {
mp.events.callRemote("CLIENT:CityHall_CreateGroup", name);