forked from Sokomine/yl_speak_up
		
	handle simple_dialogs export when no dialogs are available
This commit is contained in:
		
							parent
							
								
									55b180544f
								
							
						
					
					
						commit
						eaf84cfd31
					
				| @ -174,8 +174,10 @@ yl_speak_up.get_fs_export = function(player, param) | ||||
| 			"line start would not be allowed in \"simple_dialogs\"." | ||||
| 		local tmp = {} | ||||
| 		local d_liste = {} | ||||
| 		for d_id, v in pairs(dialog.n_dialogs) do | ||||
| 			table.insert(d_liste, d_id) | ||||
| 		if(dialog.n_dialogs) then | ||||
| 			for d_id, v in pairs(dialog.n_dialogs) do | ||||
| 				table.insert(d_liste, d_id) | ||||
| 			end | ||||
| 		end | ||||
| 		table.sort(d_liste) | ||||
| 		for i, d_id in ipairs(d_liste) do | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user