mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2026-10-12 06:11:26 +00:00
small fix
This commit is contained in:
1 parent
26c533638e
commit
3287031fe7
1 file changed
+3
-1
@@ -1601,11 +1601,13 @@ load_waypoints()
|
||||
mapname = getDvar( "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 )
|
||||
|
||||
Reference in new issue
Block a user