|  |  | @@ -111,6 +111,8 @@ function moveToRoom(src, exit, dest, state) { | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | resetControls(state); | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | createStatDisplays(room.data.stats, "area"); | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | refresh(); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
	
		
			
				|  |  | @@ -136,14 +138,14 @@ function goToRoom(dest, state) { | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | resetControls(state); | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | createStatDisplays(room.data.stats, "area"); | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | refresh(); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | function updateRoom(state) { | 
		
	
		
			
			|  |  |  | const name = state.player.location; | 
		
	
		
			
			|  |  |  | const room = state.world[name]; | 
		
	
		
			
			|  |  |  |  | 
		
	
		
			
			|  |  |  | createStatDisplays(room.data.stats, "area"); | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | if (!state.player.rooms[room.id]) { | 
		
	
		
			
			|  |  |  | state.player.rooms[room.id] = {}; | 
		
	
	
		
			
				|  |  | 
 |