aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Custom/mod/scripts/vscripts/sh_custom_oob_timer.gnut
blob: ca6ec5ec51f92d019f43105c55d29a758e0041ae (plain)
1
2
3
4
5
6
7
global function CustomOOBTimer_Init

void function CustomOOBTimer_Init()
{
	AddPrivateMatchModeSettingEnum( "#MODE_SETTING_CATEGORY_MATCH", "oob_timer_enabled", [ "#SETTING_DISABLED", "#SETTING_ENABLED" ], "1" )
	level.disableOutOfBounds <- GetCurrentPlaylistVarInt( "oob_timer_enabled", 1 ) == 0
}