diff --git a/src/cc/periphs/Modem.hx b/src/cc/periphs/Modem.hx index 7d20693..0c93410 100644 --- a/src/cc/periphs/Modem.hx +++ b/src/cc/periphs/Modem.hx @@ -2,7 +2,7 @@ package cc.periphs; import lua.Table; -extern class Modem { +@:luaDotMethod extern class Modem { public function open(channel:Int):Void; // Open a channel on a modem. public function isOpen(channel:Int):Bool; // Check if a channel is open. public function close(channel:Int):Void; // Close an open channel, meaning it will no longer receive messages.