Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.

New to the forum? Say hello in this topic! Also make sure to read the rules.

The TotalEmptyGunsFireAttempts statistic is misspelled in the API

Here you can find all solved gameplay problems and bugs (beginning from Pre-Alpha 1.8.8).
Forum rules
By using the forum you agree to the following rules. For this forum you also need to follow these additional rules.
Locked
User avatar
Bash Kraken
Superfighter
Superfighter
Posts: 75
Joined: Tue Mar 22, 2016 12:49 pm
Title: Action Hero Extraordinaire
SFD Alias: Bash Kraken
Started SFD: December 2012
Location: Post-Apocalyptic East Coast - U.S.
Gender:

The TotalEmptyGunsFireAttempts statistic is misspelled in the API

Post by Bash Kraken » Thu Jul 06, 2017 7:21 pm

Image
Basically it should be Attempts, not Attemts. I thought it was just misspelled in the Script API, but it causes an error when spelling it correctly.
4 x
heck
Hidden Content
This board requires you to be registered and logged-in to view hidden content.

User avatar
Gurt
Lead Programmer
Lead Programmer
Posts: 1884
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 34

Post by Gurt » Thu Jul 06, 2017 9:39 pm

Thanks for pointing it out. Fixed after Alpha v.1.3.4c.
The ScriptAPI documentation is generated from the actual code so if I misspell anything it just spreads through the whole API and documentation :)

The old misspelled TotalEmptyGunsFireAttemts will still work but won't be visible in the documentation so nothing will break after the update.
0 x
Gurt

Locked