Open Flya opened 5 years ago
@Flya i noticed that a _check_active_structures.js
was called, but not defined. is that in a commit not included in this PR? I'm assuming that would do the bulk of setting the structure.off
each tick...
@semperrabbit Sorry looks like I missed to include this file. I have added this file now.
This committe is rework how game engine is calculate
isActive
for structures in room. The logic is implemented by using propertyoff
in raw object. The processor will update this property in the end of the tick and runtime will use it for check if structure is active.