Added check to prevent incompatibilities with other mods
This commit is contained in:
BIN
dev_stuff/logos/TOC_LOGOv2_ByChuck_169_with_title.png
Normal file
BIN
dev_stuff/logos/TOC_LOGOv2_ByChuck_169_with_title.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 540 KiB |
@@ -368,6 +368,8 @@ end
|
||||
function DataController.ReceiveData(key, data)
|
||||
-- During startup the game can return Bob as the player username, adding a useless ModData table
|
||||
if key == "TOC_Bob" then return end
|
||||
if not luautils.stringStarts(key, StaticData.MOD_NAME .. "_") then return end
|
||||
|
||||
|
||||
TOC_DEBUG.print("ReceiveData for " .. key)
|
||||
if data == {} or data == nil then
|
||||
|
||||
Reference in New Issue
Block a user