mirror of
				https://github.com/solero/houdini.git
				synced 2025-11-04 06:31:54 +00:00 
			
		
		
		
	Simplify decrement assignment
This commit is contained in:
		@@ -103,7 +103,7 @@ async def handle_join_player_room(p, penguin_id: int, room_type: str):
 | 
			
		||||
@handlers.handler(XTPacket('j', 'jp'), client=ClientType.Legacy)
 | 
			
		||||
@handlers.cooldown(1)
 | 
			
		||||
async def handle_join_player_room_legacy(p, penguin_id: int):
 | 
			
		||||
    penguin_id = penguin_id - 1000
 | 
			
		||||
    penguin_id -= 1000
 | 
			
		||||
    igloo = await create_temporary_room(p, penguin_id)
 | 
			
		||||
    await p.join_room(igloo)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user