mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-20 21:25:42 +00:00
fix
This commit is contained in:
parent
9e6f68845d
commit
c3ca2314fc
@ -1070,11 +1070,13 @@ readWpsFromFile( mapname )
|
||||
load_waypoints()
|
||||
{
|
||||
level.waypointCount = 0;
|
||||
level.waypoints = [];
|
||||
level.waypointUsage = [];
|
||||
level.waypointUsage["allies"] = [];
|
||||
level.waypointUsage["axis"] = [];
|
||||
|
||||
if ( !isDefined( level.waypoints ) )
|
||||
level.waypoints = [];
|
||||
|
||||
mapname = getDvar( "mapname" );
|
||||
|
||||
wps = readWpsFromFile( mapname );
|
||||
|
Loading…
x
Reference in New Issue
Block a user