mirror of
				https://github.com/coop-deluxe/sm64coopdx.git
				synced 2025-10-30 08:01:01 +00:00 
			
		
		
		
	Prevent hide-and-seek from warping to castle grounds
This commit is contained in:
		
							parent
							
								
									5310b0d496
								
							
						
					
					
						commit
						ab0d46d61e
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -227,9 +227,10 @@ function mario_update(m)
 | 
			
		|||
        warp_to_castle(LEVEL_BITS)
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    if m.playerIndex == 0 and gPlayerSyncTable[m.playerIndex].seeking and gGlobalSyncTable.displayTimer == 0 and gGlobalSyncTable.roundState == ROUND_STATE_ACTIVE then
 | 
			
		||||
        warp_to_level(LEVEL_CASTLE_GROUNDS, 1, 0) 
 | 
			
		||||
    end
 | 
			
		||||
    -- this doesn't work properly, it automatically ends the round again
 | 
			
		||||
    --if m.playerIndex == 0 and gPlayerSyncTable[m.playerIndex].seeking and gGlobalSyncTable.displayTimer == 0 and gGlobalSyncTable.roundState == ROUND_STATE_ACTIVE then
 | 
			
		||||
    --    warp_to_level(LEVEL_CASTLE_GROUNDS, 1, 0)
 | 
			
		||||
    --end
 | 
			
		||||
 | 
			
		||||
    -- display all seekers as metal
 | 
			
		||||
    if s.seeking then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue