chore: update rawfiles
All checks were successful
lint / Lint GSC files (push) Successful in 10s

This commit is contained in:
6arelyFuture 2024-09-11 16:44:39 +02:00
parent 49667a3043
commit 7da7ae9899
Signed by: Future
GPG Key ID: F2000F181A4F7C85
3 changed files with 16 additions and 2855 deletions

View File

@ -18,6 +18,5 @@ jobs:
options: --volumes-from=${{ env.JOB_CONTAINER_NAME }}
run: |
cd ${{ github.workspace }}
gsc-tool --dry -m comp -g iw6 -s pc "common_scripts"
gsc-tool --dry -m comp -g iw6 -s pc "maps"
gsc-tool --dry -m comp -g iw6 -s pc "scripts"
gsc-tool --dry -m parse -g iw6 -s pc "scripts"

File diff suppressed because it is too large Load Diff

15
scripts/mp/_patches.gsc Normal file
View File

@ -0,0 +1,15 @@
#include common_scripts\utility;
main()
{
replacefunc( common_scripts\utility::set_trigger_flag_permissions, ::set_trigger_flag_permissions_stub );
}
set_trigger_flag_permissions_stub( var_0 )
{
if ( !isdefined( level.trigger_flags ) || !isdefined( level.trigger_flags[var_0] ) )
return;
level.trigger_flags[var_0] = array_removeundefined( level.trigger_flags[var_0] );
array_thread( level.trigger_flags[var_0], ::update_trigger_based_on_flags );
}