Puppy's Jetpack UI

by Puppy

Adds a UI to show remaining fuel and thrust for the Jetpack.

Utilities
a month ago
1.1 - 2.0
5.25K

b Crash when lifting off

2 years ago
(updated 2 years ago)

The jetpack had no fuel, I went and got some rocket fuel and then lifted off

84.053 Error MainLoop.cpp:1284: Exception at tick 1039500: The mod Puppy's Jetpack UI (0.1.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event puppy-jetpack-ui::on_nth_tick(60)
__puppy-jetpack-ui__/script/gui.lua:106: attempt to index field 'fuel' (a nil value)
stack traceback:
    __puppy-jetpack-ui__/script/gui.lua:106: in function <__puppy-jetpack-ui__/script/gui.lua:94>
2 years ago

I can take a look tomorrow after work but should be an easy fix I think

New response