mirror of
https://github.com/DaKerboul/perun.git
synced 2026-08-09 18:05:40 +02:00
Added weather and coalition export.
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
-- ########### END OF SETTINGS ###########
|
-- ########### END OF SETTINGS ###########
|
||||||
|
|
||||||
-- Variable init
|
-- Variable init
|
||||||
Perun.Version = "v0.3.4"
|
Perun.Version = "v0.3.5"
|
||||||
Perun.StatusData = {}
|
Perun.StatusData = {}
|
||||||
Perun.SlotsData = {}
|
Perun.SlotsData = {}
|
||||||
Perun.MissionData = {}
|
Perun.MissionData = {}
|
||||||
@@ -100,6 +100,8 @@
|
|||||||
temp['realtime']=DCS.getRealTime()
|
temp['realtime']=DCS.getRealTime()
|
||||||
temp['pause']=DCS.getPause()
|
temp['pause']=DCS.getPause()
|
||||||
temp['multiplayer']=DCS.isMultiplayer()
|
temp['multiplayer']=DCS.isMultiplayer()
|
||||||
|
temp['theatre'] = Perun.MissionData['mission']['theatre']
|
||||||
|
temp['weather'] = Perun.MissionData['mission']['weather']
|
||||||
Perun.UpdateStatusPart("mission",temp)
|
Perun.UpdateStatusPart("mission",temp)
|
||||||
|
|
||||||
-- 2 - Players
|
-- 2 - Players
|
||||||
@@ -201,8 +203,8 @@
|
|||||||
end
|
end
|
||||||
|
|
||||||
Perun.onMissionLoadEnd = function()
|
Perun.onMissionLoadEnd = function()
|
||||||
Perun.UpdateSlots()
|
|
||||||
Perun.UpdateMission()
|
Perun.UpdateMission()
|
||||||
|
Perun.UpdateSlots()
|
||||||
Perun.UpdateVersion()
|
Perun.UpdateVersion()
|
||||||
Perun.UpdateJson()
|
Perun.UpdateJson()
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ namespace Perun_v1
|
|||||||
string sql = "";
|
string sql = "";
|
||||||
|
|
||||||
// Modify specific
|
// Modify specific
|
||||||
if (type == "1") // Inject app version information
|
if (type == "1") // Inject app version information
|
||||||
{
|
{
|
||||||
|
|
||||||
udp_frame.payload["v_win"] = "v"+ publishVersion;
|
udp_frame.payload["v_win"] = "v"+ publishVersion;
|
||||||
|
|||||||
Reference in New Issue
Block a user