Made "could not find syndrome" error work.

Before, it was trying to look at the syndrome ID it didn't actually find.
develop
Putnam3145 2015-04-29 14:19:24 -07:00
parent 0849099f20
commit aeeb2cfd6e
1 changed files with 1 additions and 1 deletions

@ -109,7 +109,7 @@ for _,syn in ipairs(df.global.world.raws.syndromes.all) do
end
if not syndrome then
error ('Could not find syndrome named ' .. syndrome)
error ('Could not find syndrome named ' .. args.syndrome)
end
onInfection[syndrome] = onInfection[syndrome] or {}