1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-07-08 04:48:13 -05:00

Die Rise: fix elevator call during start location wait

This commit is contained in:
Jbleezy
2023-04-20 16:16:58 -07:00
parent 34b3bcc05d
commit 4c71bedfec
2 changed files with 35 additions and 8 deletions

View File

@ -188,8 +188,13 @@ elevator_think( elevator )
if ( !skipinitialwait )
{
elevator.body.start_location_wait = 1;
elevator.body notify( "startwait" );
event = elevator.body waittill_any_timeout( 3, "forcego" );
elevator.body.start_location_wait = 0;
if ( event == "forcego" )
{
next = elevator_next_floor( elevator, next, 0 );