Check for csm_restriction_flags in the SSCSM.

master
luk3yx 2019-10-15 17:50:38 +13:00
parent 93c7079d4a
commit 556a42d0b6
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,9 @@
advmarkers = {}
local data = {}
assert(not sscsm.restrictions or not sscsm.restrictions.chat_messages,
'The advmarkers SSCSM needs to be able to send chat messages!')
-- Convert positions to/from strings
local function pos_to_string(pos)
if type(pos) == 'table' then