aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts
diff options
context:
space:
mode:
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/_utility.gnut5
1 files changed, 5 insertions, 0 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/_utility.gnut b/Northstar.CustomServers/mod/scripts/vscripts/_utility.gnut
index 1644afd9..c0e69ba5 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/_utility.gnut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/_utility.gnut
@@ -3967,6 +3967,11 @@ void function SetRoundEndTime(float seconds)
SetServerVar( "roundEndTime", Time() + seconds )
}
+void function SetScoreLimit(int newLimit)
+{
+ SetPlaylistVarOverride( "scorelimit", string(newLimit) )
+}
+
int function GameTime_TimeLimitSeconds()
{
if ( IsRoundBased() )