Jump to content

Welcome to the Forum!

The best place to exchange builds and ideas! Vote for the best ideas and suggestions here.

Join the Avorion Discord!

Connect with other passionate players and talk about the latest news.
Discord

DLC Avorion Into the Rift Out Now!

Now available on Steam!
Steam

Issue in pirategenerator.lua - Devs please


Hammelpilaw
 Share

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
 Share

×
×
  • Create New...