mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-26 20:33:53 +01:00
all the functions
This commit is contained in:
@@ -92,8 +92,8 @@ local function get_data()
|
||||
local oda = _RDS_ODAs[_RDS_ODA_pointer]
|
||||
|
||||
if oda ~= false and type(oda.handler) == "function" then
|
||||
local generated, b, c, d = oda.handler()
|
||||
if generated then
|
||||
local ok, generated, b, c, d = pcall(oda.handler())
|
||||
if ok and generated then
|
||||
_RDS_ODA_pointer = (_RDS_ODA_pointer % #_RDS_ODAs) + 1
|
||||
b = b | oda.group << 12
|
||||
b = b | (oda.group_version and 1 or 0) << 11
|
||||
|
||||
Reference in New Issue
Block a user