make cursor handling deferred
This commit is contained in:
		
							parent
							
								
									1a325ad326
								
							
						
					
					
						commit
						b180fab115
					
				| @ -22,6 +22,10 @@ func _process(delta: float) -> void: | ||||
| 		return | ||||
| 	_single_cursor.visible = false | ||||
| 
 | ||||
| 	call_deferred("_handle_cursors", delta) | ||||
| 
 | ||||
| 
 | ||||
| func _handle_cursors(delta: float) -> void: | ||||
| 	for player_index in range(Referencer.players_count): | ||||
| 		_handle_cursor(player_index, delta) | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user