Jump to content

Issue in pirategenerator.lua - Devs please


Hammelpilaw

Recommended Posts

There is a simple issue in pirategenerator.lua script in function addPirateEquipment().

This function got the parameters "craft" and "title". But in line 163 there is a wrong variable name used:

 

ShipUtility.addBossAntiTorpedoEquipment(boss)

 

The variable "boss" is nil, it should be "craft" instead. This never happens in vanilla game because this line will never be executed in vanilla scripts. Please fix though.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...