Skip to content

Commit

Permalink
Moved anv_standards inclusion to map script
Browse files Browse the repository at this point in the history
  • Loading branch information
Treescrub committed Jul 7, 2021
1 parent b6482e6 commit 18b5e08
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scripts/vscripts/anv_mapfixes.nut
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ __CollectEventCallbacks( this, "OnGameEvent_", "GameEventCallbacks", RegisterScr

if ( HasPlayerControlledZombies() )
{
if( g_MapName == "tutorial_standards_vs" )
{
EntFire( "worldspawn", "RunScriptFile", "anv_standards" );
}

// If it's VS Survival (mutation15), delete new props that obstruct
// Survivor movement since their play space is already limited. This
Expand Down
8 changes: 8 additions & 0 deletions scripts/vscripts/anv_mapfixes/tutorial_standards_vs.nut
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
g_Chapter = "DEVELOPER - tutorial_standards_vs";

devchap( "ALL MODES" );

if ( HasPlayerControlledZombies() )
{
EntFire( "worldspawn", "RunScriptFile", "anv_standards" );
}

0 comments on commit 18b5e08

Please sign in to comment.