Vehicle Wagon 2


Take with you a fully charged and battle-ready vehicle and take it on a rail trip. --------------------------------------------------------------------------------- Возьмите с собой полностью заряженный и готовый к бою транспорт и отправьте его в путешествие по железной дороге.

Content
1 year, 3 months ago
0.17 - 1.1
17.3K
Transportation Trains Combat

b [fixed] Error in 1.1

3 years ago

Heya thanks a lot for the great mod and the speedy 1.1 update. Unfortunately I have run into the following error after updating to 1.1.
I had a car already loaded onto a vehicle wagon and when I tried to unload it, I got this:

The mod Vehicle Wagon 2 (3.1.9) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event VehicleWagon2::on_tick (ID 0)
'index': real number expected got nil.
stack traceback:
[C]: in function 'newindex'
__VehicleWagon2
/script/unloadVehicleWagon.lua:159: in function 'unloadVehicleWagon'
VehicleWagon2/control.lua:145: in function <VehicleWagon2/control.lua:92>

3 years ago

Looking at the indicated line in code it seems that this is because I have had my car stowed before the update that introduces the selected gun saving.

3 years ago

Stupid mistake on my part. Should be fixed now. Thanks for the report!

New response