Minor issue with the ingame display fixed.
This commit is contained in:
		
							parent
							
								
									5e4f79ee19
								
							
						
					
					
						commit
						7d331f0883
					
				
					 2 changed files with 9 additions and 2 deletions
				
			
		|  | @ -9,6 +9,13 @@ | ||||||
| 
 | 
 | ||||||
| [node name="characterViewer" parent="." instance=ExtResource("2_7des0")] | [node name="characterViewer" parent="." instance=ExtResource("2_7des0")] | ||||||
| visible = false | visible = false | ||||||
|  | anchors_preset = 0 | ||||||
|  | anchor_right = 0.0 | ||||||
|  | anchor_bottom = 0.0 | ||||||
|  | offset_right = 800.0 | ||||||
|  | offset_bottom = 500.0 | ||||||
|  | grow_horizontal = 1 | ||||||
|  | grow_vertical = 1 | ||||||
| 
 | 
 | ||||||
| [node name="back" type="Button" parent="."] | [node name="back" type="Button" parent="."] | ||||||
| visible = false | visible = false | ||||||
|  |  | ||||||
|  | @ -22,8 +22,8 @@ func stats(): | ||||||
| 	get_node(objectName).stop() | 	get_node(objectName).stop() | ||||||
| 	$"../back".disabled = false | 	$"../back".disabled = false | ||||||
| 	$"../back".visible = true | 	$"../back".visible = true | ||||||
| 	$"../characterViewer".get_child(1).text = str(playerIndex-1) | 	$"../characterViewer/ScrollContainer/VBoxContainer".get_child(1).text = str(playerIndex-1) | ||||||
| 	$"../characterViewer".get_child(1).editable = false | 	$"../characterViewer/ScrollContainer/VBoxContainer".get_child(1).editable = false | ||||||
| 	$"../characterViewer"._on_button_pressed() | 	$"../characterViewer"._on_button_pressed() | ||||||
| 
 | 
 | ||||||
| func restart(): | func restart(): | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Patrick_Pluto
						Patrick_Pluto