aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Northstar.Client/mod/scripts/vscripts/client/cl_gamestate.gnut8
1 files changed, 8 insertions, 0 deletions
diff --git a/Northstar.Client/mod/scripts/vscripts/client/cl_gamestate.gnut b/Northstar.Client/mod/scripts/vscripts/client/cl_gamestate.gnut
index 93be01eab..1baeae9f8 100644
--- a/Northstar.Client/mod/scripts/vscripts/client/cl_gamestate.gnut
+++ b/Northstar.Client/mod/scripts/vscripts/client/cl_gamestate.gnut
@@ -1105,8 +1105,16 @@ void function DisplayPostMatchTop3()
RuiSetBool( rui, "isFriendly" + i, localTeam == players[i].GetTeam() )
}
}
+
+ if ( GetConVarBool( "hud_takesshots" ) )
+ thread TakeScoreboardScreenshot_Delayed()
}
+void function TakeScoreboardScreenshot_Delayed()
+{
+ wait 1.5
+ GetLocalClientPlayer().ClientCommand( "jpeg" )
+}
float function GetGameStartTime()
{