mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-04-25 15:19:14 +00:00
Fixed loading waypoints in editor
This commit is contained in:
parent
8dcd8b1c9e
commit
5e7eb2fc17
@ -55,7 +55,10 @@ init()
|
||||
|
||||
setDvar( "player_sustainAmmo", 1 );
|
||||
|
||||
level.waypoints = [];
|
||||
|
||||
if ( !isDefined( level.waypoints ) )
|
||||
level.waypoints = [];
|
||||
|
||||
level.waypointCount = 0;
|
||||
|
||||
level waittill( "connected", player );
|
||||
@ -580,7 +583,7 @@ watchSaveWaypointsCommand()
|
||||
|
||||
LoadWaypoints()
|
||||
{
|
||||
self DeleteAllWaypoints();
|
||||
// self DeleteAllWaypoints();
|
||||
self iPrintlnBold( "Loading WPS..." );
|
||||
load_waypoints();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user