summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/engineapi.c4
-rw-r--r--tools/mkbindist.bat4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/engineapi.c b/src/engineapi.c
index 768510d..f3c8c6d 100644
--- a/src/engineapi.c
+++ b/src/engineapi.c
@@ -1,5 +1,5 @@
/*
- * Copyright © 2023 Michael Smith <mikesmiffy128@gmail.com>
+ * Copyright © 2024 Michael Smith <mikesmiffy128@gmail.com>
* Copyright © 2023 Willian Henrique <wsimanbrazil@yahoo.com.br>
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -88,7 +88,7 @@ bool engineapi_init(int pluginver) {
// detect p1 for the benefit of specific features
if (!GAMETYPE_MATCHES(Portal2) && con_findcmd("upgrade_portalgun")) {
_gametype_tag |= _gametype_tag_Portal1;
- if (!con_findvar("tf_arena_max_streak")) {
+ if (!con_findvar("tf_escort_score_rate")) {
_gametype_tag |= _gametype_tag_Portal1_3420;
}
}
diff --git a/tools/mkbindist.bat b/tools/mkbindist.bat
index 7d94714..b9512cc 100644
--- a/tools/mkbindist.bat
+++ b/tools/mkbindist.bat
@@ -21,8 +21,8 @@ md TEMP-%name% || exit /B
copy sst.dll TEMP-%name%\sst.dll || exit /B
copy dist\LICENCE.windows TEMP-%name%\LICENCE || exit /B
:: using midnight on release day to make zip deterministic! change on next release!
-powershell (Get-Item TEMP-%name%\sst.dll).LastWriteTime = new-object DateTime 2024, 5, 27, 0, 0, 0
-powershell (Get-Item TEMP-%name%\LICENCE).LastWriteTime = new-object DateTime 2024, 5, 27, 0, 0, 0
+powershell (Get-Item TEMP-%name%\sst.dll).LastWriteTime = new-object DateTime 2024, 5, 28, 0, 0, 0
+powershell (Get-Item TEMP-%name%\LICENCE).LastWriteTime = new-object DateTime 2024, 5, 28, 0, 0, 0
pushd TEMP-%name%
"%SEVENZIP%" a -mtc=off %name%.zip sst.dll LICENCE || exit /B
move %name%.zip ..\release\%name%.zip