mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-16 19:51:50 +00:00
fix minor issues
This commit is contained in:
parent
f3a65812a9
commit
c86416cf79
@ -145,7 +145,7 @@ export class GameSystemManager {
|
|||||||
// Order is important!
|
// Order is important!
|
||||||
|
|
||||||
// IMPORTANT: Item acceptor must be before the belt, because it may not tick after the belt
|
// IMPORTANT: Item acceptor must be before the belt, because it may not tick after the belt
|
||||||
// has put in the item into the acceptor animqation, otherwise its off
|
// has put in the item into the acceptor animation, otherwise its off
|
||||||
add("itemAcceptor", ItemAcceptorSystem);
|
add("itemAcceptor", ItemAcceptorSystem);
|
||||||
|
|
||||||
add("belt", BeltSystem);
|
add("belt", BeltSystem);
|
||||||
|
|||||||
@ -571,7 +571,7 @@ export class HubGoals extends BasicSerializableObject {
|
|||||||
*/
|
*/
|
||||||
getProcessingSpeed(processorType) {
|
getProcessingSpeed(processorType) {
|
||||||
const time = this.getProcessingTime(processorType);
|
const time = this.getProcessingTime(processorType);
|
||||||
if (time == 0) {
|
if (!time) {
|
||||||
return this.getBeltBaseSpeed();
|
return this.getBeltBaseSpeed();
|
||||||
}
|
}
|
||||||
return 1 / time;
|
return 1 / time;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user