fix missing localized string for iw4 test map

pull/3/head
FutureRave 2023-02-05 19:46:36 +00:00
parent 7951d97016
commit 2097fc009f
No known key found for this signature in database
GPG Key ID: 22F9079C86CFAB31
4 changed files with 34 additions and 36 deletions

View File

@ -196,6 +196,9 @@ LANG_ENGLISH "The Only Easy Day... Was Yesterday"
REFERENCE MPUI_NUKED
LANG_ENGLISH "Nuketown"
REFERENCE MPUI_IW4_TEST_MAP
LANG_ENGLISH "IW4 Test Map"
REFERENCE MPUI_DESC_MAP_NUKED
LANG_ENGLISH "A deserted nuke testing facility used in the Cold War."

View File

@ -2,20 +2,14 @@
main()
{
maps\mp\_load::main();
game[ "attackers" ] = "allies";
game[ "defenders" ] = "axis";
maps\mp\_compass::setupMiniMap( "compass_map_hunted" );
setdvar( "compassmaxrange", "4000" );
array_thread( getentarray( "compassTriggers", "targetname" ), ::compass_triggers_think );
}
@ -25,7 +19,6 @@ self_delete()
self delete();
}
compass_triggers_think()
{
assertex( isdefined( self.script_noteworthy ), "compassTrigger at " + self.origin + " needs to have a script_noteworthy with the name of the minimap to use" );
@ -44,7 +37,9 @@ createSpawnpoint( classname, origin, yaw )
if ( !isdefined( level.extraspawnpoints ) )
level.extraspawnpoints = [];
if ( !isdefined( level.extraspawnpoints[classname] ) )
level.extraspawnpoints[classname] = [];
level.extraspawnpoints[classname][ level.extraspawnpoints[classname].size ] = spawnpoint;
}

View File

@ -391,7 +391,7 @@
*/
{
map "iw4_credits"
longname "IW4 Test Map"
longname "MPUI_IW4_TEST_MAP"
gametype "dm dom sd sab war koth oneflag arena dd vip ctf gtnw oitc gg ss conf cranked infected tdef"
description ""
mapimage "preview_iw4_credits"