mirror of
https://github.com/ineedbots/iw2_bot_warfare.git
synced 2025-04-19 14:22:54 +00:00
small fix
This commit is contained in:
parent
e9aafcf01a
commit
25d60f2a62
@ -1363,11 +1363,14 @@ load_waypoints()
|
||||
mapname = getCvar( "mapname" );
|
||||
|
||||
level.waypointCount = 0;
|
||||
level.waypoints = [];
|
||||
level.waypointUsage = [];
|
||||
level.waypointUsage["allies"] = [];
|
||||
level.waypointUsage["axis"] = [];
|
||||
|
||||
|
||||
if ( !isDefined( level.waypoints ) )
|
||||
level.waypoints = [];
|
||||
|
||||
wps = readWpsFromFile( mapname );
|
||||
|
||||
if ( wps.size )
|
||||
|
Loading…
x
Reference in New Issue
Block a user