SHOW:
|
|
- or go back to the newest paste.
1 | local component = require("component") | |
2 | local reactor = component.nc_fission_reactor | |
3 | ||
4 | - | if reactor.isProcessing() then |
4 | + | if not reactor.isProcessing() then |
5 | - | print("Arrêt du réacteur") |
5 | + | print("Démarrage du réacteur") |
6 | - | reactor.deactivate() |
6 | + | reactor.activate() |
7 | else | |
8 | - | print("Le réacteur est déjà arrêté") |
8 | + | print("Le réacteur est déjà démarré") |
9 | end |