Open Enoshima-Junko opened 7 years ago
I am sorry for not seeing this issue before. I will fix these to the master branch asap. Thank you for pointing this out for me!
I have not played L4D1 for ages and don't know of the campaign Sacrifice. Can you give me more details on the campaign? What type is it (coop/versus/etc)? Does it have an identifier like "l4d_hospital" is for "No Mercy"?
Hi, muukis. These are the bugs I'm talking about in the webstats.
The cause of this is a copy-n-paste error in campaign.php:
After fixing it, this is the result.
Missing pictures when installing the L4D1 version of the stats. Solution: Provide more screenshots or copy the current ones and rename them to match the map. Result: Same as the file attached above.
l4d.sql creating tables with maps that doesn't support a specific gamemode. Solution: Rewrite the sql to apply the appropriate data.
The Sacrifice campaign not displayed in the L4D1 stats. Solution: Add it in the array found in common.php