You've already forked ComfyFactorio
							
							
				mirror of
				https://github.com/ComfyFactory/ComfyFactorio.git
				synced 2025-10-30 23:47:41 +02:00 
			
		
		
		
	Alert: add table as a possible param to message
This commit is contained in:
		| @@ -327,7 +327,7 @@ end | ||||
| ---Message to a specific player as warning | ||||
| ---@param player LuaPlayer | ||||
| ---@param duration number | ||||
| ---@param message string | ||||
| ---@param message string|table | ||||
| ---@param color string|nil | ||||
| function Public.alert_player_warning(player, duration, message, color) | ||||
|     Public.alert_player_template( | ||||
| @@ -349,7 +349,7 @@ end | ||||
| ---Message to all players of a given force | ||||
| ---@param force LuaForce | ||||
| ---@param duration number | ||||
| ---@param message string | ||||
| ---@param message string|table | ||||
| function Public.alert_force(force, duration, message) | ||||
|     local players = force.connected_players | ||||
|     for i = 1, #players do | ||||
|   | ||||
		Reference in New Issue
	
	Block a user