Skip to content

Bug: Refueling bug #93

@idkwhy-cyber

Description

@idkwhy-cyber

Describe the bug
Refueling doesn't work when landing on a colony even though i am well withing 100m of the Refinery

To Reproduce
Steps to reproduce the behavior:

  1. Make a colony
  2. Build a Refinery
  3. Land a rocket near it
  4. Result: no refueling

Additional context
The inability to refuel may have something to do with the fact that my fuel isn't at absolute zero since in your code it uses this if statement

if (this._rocketTanks == null)
{
    this._rocketTanks = this.GetRocketTanks();
    return;
}

I am not a programmer but have dabbled slightly in C# and it looks to me like this only lets the rocket refill if the tanks are at 0. My tanks are not at 0 which may be what stops me from refueling but I will try and see if it will refuel my rocket if i turn the fuel level to 0 and post results below

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions