mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 03:09:18 +02:00
Merge commit 'd8170c932b448ba6888e702746b5ae22632062d8' into sim
This commit is contained in:
@@ -714,6 +714,7 @@ traction_table::InitTraction() {
|
||||
scene::node_data nodedata;
|
||||
nodedata.name = traction->asPowerSupplyName;
|
||||
powersource = new TTractionPowerSource( nodedata );
|
||||
powersource->IsAutogenerated = true;
|
||||
powersource->Init( traction->NominalVoltage, traction->MaxCurrent );
|
||||
simulation::Powergrid.insert( powersource );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user