Electrical: Bug fixed, Messages: Update texture

This commit is contained in:
Sidi Liang 2019-10-03 18:34:42 +08:00
parent 022e983174
commit 6653ad2b65
2 changed files with 3 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -166,7 +166,7 @@ var Circuit = {
updateInterval: 1, #//Seconds between each update
debugMode: 1,
debugMode: 0,
loopCount: 0,
@ -269,7 +269,8 @@ var CurrentSource = {
isCurrentSource: func(){
return 1;
},
direction: 1, #//1 means it is connected in the current direction, -1 means the opposite
ratedElectromotiveForce: 0, #//Volt
electromotiveForce: 0, #//Volt
electricalCapacity: 0, #//kWs