diff --git a/cope.lua b/cope.lua index 411dea5..8cf1907 100644 --- a/cope.lua +++ b/cope.lua @@ -1,7 +1,7 @@ cope = {} - -function cope.level() - print('Coping level = High') +cope.level = "High" +function cope.get_level() + return cope.level end return cope diff --git a/main.lua b/main.lua index c1aed0a..153e01e 100644 --- a/main.lua +++ b/main.lua @@ -1,2 +1,2 @@ local cope = require('cope') -cope.level() +print(cope.get_level())