remove some error prints

This commit is contained in:
Redo0
2021-06-05 17:05:22 -05:00
parent 7157957d71
commit bdcf2b384a
4 changed files with 9 additions and 6 deletions

View File

@@ -170,8 +170,8 @@ function Group.mergeinto(group, group2)
Simulation.dequeuegroup(GSim, group)
end
-- Logic Critical
function Group.setstate(group, state)
if type(state)~="number" then error("group state type must be number") end
if state ~= group.state then
local sim = GSim