Giter Club home page Giter Club logo

Comments (2)

mdziekon avatar mdziekon commented on August 15, 2024

Hi @Scott-TT, please provide full steps to reproduce, including the testing conditions and environment details, as described in the Bug template that Github should suggest on each new issue creation.

I'm unable to reproduce this issue on my end. Using the debugger breakpoint at the "root cause" you've pointed out doesn't yield any unexpected results, as in - when the queue is empty, it correctly determines that the condition is not true, and does not go into the code block which is responsible for additional work time accumulation.

Therefore, it's either some specific edge case that I'll need to reproduce, or maybe you're using a different runtime environment altogether which behaves differently than my own testing env (eg. newer version of PHP interpreter, which had a looot of breaking changes since the release of the most recent version supported by this Engine).

from uniengine.

Tearow avatar Tearow commented on August 15, 2024

Proposed fix : replace with if (!empty($ThePlanet['shipyardQueue'])) . Confirmed to work for shipyards, but NOT retroactive : the buffer will still need to be consumed.

This worked for me too.

from uniengine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.