more tests for MP compat

This commit is contained in:
Pao
2023-01-12 15:47:52 +01:00
parent bf01a5dc0d
commit c049defe9d
3 changed files with 9 additions and 5 deletions

View File

@@ -12,10 +12,10 @@ local function OnTocServerCommand(module, command, args)
local toc_data = patient:getModData().TOC
-- todo maybe we cant send a table like this. Let's try something easier
--local moneyAmount = playerTwo:getInventory():getCountTypeRecurse("Money")
patient:Say("Giving info")
sendClientCommand(patient, "TOC", "SendPlayerData", {surgeon_id, toc_data})
print("Giving info")
sendClientCommand(patient, "TOC", "SendPlayerData", {surgeon_id, 69})
elseif command == 'SendTocData' then
print("Sending TOC data")