Skip to content

Commit 0cceec5

Browse files
authored
Merge pull request #20 from RomeoCantCode/main
1.2.2 / fix ms querying UDP port on register
2 parents 76ff76c + afe0614 commit 0cceec5

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "UnholyTrinity",
3-
"version_number": "1.2.1",
3+
"version_number": "1.2.2",
44
"website_url": "https://github.com/xamionex/xamionex.UnholyTrinity",
55
"description": "Quake Unholy Trinity similar gameplay in titanfall 2",
66
"dependencies": []

mods/xamionex.UnholyTrinity/mod.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"Name": "xamionex.UnholyTrinity",
33
"Description": "This is my custom weapons for the UnholyTrinity server\n\nThis is a server side script, no need for clients to download",
4-
"Version": "1.2.1",
4+
"Version": "1.2.2",
55
"LoadPriority": 2,
66
"Scripts":[
77
{

mods/xamionex.UnholyTrinity/mod/scripts/vscripts/UnholyTrinity.nut

+7-5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ string uht_gamemode
88

99
void function UnholyTrinity_Init()
1010
{
11+
thread ThreadUnholyTrinity()
12+
}
13+
14+
void function ThreadUnholyTrinity()
15+
{
16+
wait 5.0 // this wait is needed otherwise master server can't connect to game session if you change the map immediately.
1117
uht_wenttolobbyfirst = GetConVarInt( "uht_wenttolobbyfirst" )
1218

1319
if( uht_wenttolobbyfirst == 0)
@@ -30,12 +36,8 @@ void function UnholyTrinity_Init()
3036
GameRules_ChangeMap( "mp_lobby", "private_match" )
3137
SetConVarInt( "uht_wenttolobbyfirst", 1 )
3238
}
33-
thread ThreadUnholyTrinity()
34-
}
3539

36-
void function ThreadUnholyTrinity()
37-
{
38-
wait 2.0
40+
wait 2.0 // just wait a bit between mapchange, why not
3941

4042
if( GetMapName() == "mp_lobby" )
4143
{

0 commit comments

Comments
 (0)