43 001
modifications
mAucun résumé des modifications |
m (Programmation défensive sur le numéro de génération) |
||
Ligne 88 : | Ligne 88 : | ||
{"SL", "USUL", "LGPE"}, | {"SL", "USUL", "LGPE"}, | ||
{"EB", "DEPS", "LPA"}, | {"EB", "DEPS", "LPA"}, | ||
{"EV"} | {"EV"} | ||
} | } | ||
Ligne 112 : | Ligne 112 : | ||
games = generation_to_games[generation] | games = generation_to_games[generation] | ||
if games == nil | |||
then return "<i>Erreur : numéro de génération invalide.</i>" | |||
end | |||
end | end | ||
Ligne 700 : | Ligne 703 : | ||
if not game then game = frame.args[1] end | if not game then game = frame.args[1] end | ||
local game_long = game_to_game_long[game] | local game_long = game_to_game_long[game] | ||
if not game_long then return "<i> | if not game_long then return "<i>Erreur : jeu invalide.</i>" end | ||
if game ~= "LPA" | if game ~= "LPA" |