From 05204a3e1db174f91ad02ac0849b87e4b56fcec3 Mon Sep 17 00:00:00 2001 From: Blur Date: Mon, 9 Sep 2024 22:49:47 -0500 Subject: [PATCH] New lua level header "ptsr_overtime_triggertag" --- src/Lua/main_game.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Lua/main_game.lua b/src/Lua/main_game.lua index 759e74f..2058abb 100644 --- a/src/Lua/main_game.lua +++ b/src/Lua/main_game.lua @@ -396,6 +396,11 @@ addHook("ThinkFrame", do if DiscordBot then DiscordBot.Data.msgsrb2 = $ .. ":alarm_clock: Overtime!\n" end + + local overtime_triggertag = mapheaderinfo[gamemap].ptsr_overtime_triggertag + if overtime_triggertag and tonumber(overtime_triggertag) then + P_LinedefExecute(tonumber(overtime_triggertag)) + end elseif not (PTSR.aipf and PTSR.aipf.valid) PTSR:SpawnPFAI()