SERVER: Fix waypoint_mode precaches

This commit is contained in:
cypress 2023-11-07 10:01:41 -05:00
parent a21997bc6e
commit c14e2345bd
2 changed files with 2 additions and 1 deletions

View file

@ -138,7 +138,7 @@ void() precaches =
precache_model ("models/sprites/explosion.spr");
precache_model ("models/sprites/null.spr");
if (waypoint_mode) {
if (cvar("waypoint_mode")) {
precache_model ("models/way/current_way.spr");
precache_model ("models/way/current_way_door.spr");
precache_model ("models/way/last_way.spr");

View file

@ -1687,6 +1687,7 @@ void () Impulse_Functions =
}
waypoint_mode = 1;
localcmd("restart\n");
break;
default: