12 lines
		
	
	
	
		
			227 B
		
	
	
	
		
			GDScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			227 B
		
	
	
	
		
			GDScript
		
	
	
	
	
	
extends Node
 | 
						|
 | 
						|
const testmode: bool = true
 | 
						|
const errortest: bool = true
 | 
						|
 | 
						|
func _ready() -> void:
 | 
						|
	if testmode:
 | 
						|
		Log.info("Starting singleton tests.")
 | 
						|
		Networking.test()
 | 
						|
		Log.test()
 | 
						|
		if errortest:
 | 
						|
			Log.error("Test", "Test")
 |