reload fix
This commit is contained in:
@@ -3028,6 +3028,7 @@ namespace ReallifeGamemode.Server.Commands
|
||||
return;
|
||||
}
|
||||
Gangwar.Gangwar.loadTurfs();
|
||||
Gangwar.Gangwar.loadAllClient();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -35,6 +35,12 @@ namespace ReallifeGamemode.Server.Gangwar
|
||||
client.TriggerEvent("GangAreas:Create", JsonConvert.SerializeObject(turfs.ToArray()));
|
||||
}
|
||||
|
||||
public static void loadAllClient()
|
||||
{
|
||||
NAPI.ClientEvent.TriggerClientEventForAll("GangAreas:Create", JsonConvert.SerializeObject(turfs.ToArray()));
|
||||
}
|
||||
|
||||
|
||||
public Turf[] getTurfs()
|
||||
{
|
||||
return _loadedTurfs;
|
||||
|
||||
Reference in New Issue
Block a user