fix many warnings (#889)

* fix many warnings

some of them can be solved by using a prototype-based system
maybe I can try to use some of these systems to reform backgrounds...

* Update app_mahjong.lua

---------

Co-authored-by: MrZ_26 <1046101471@qq.com>
This commit is contained in:
Imple Lee
2023-05-03 00:27:54 +08:00
committed by GitHub
parent 7dd73ef8d3
commit fe29cc532d
15 changed files with 15 additions and 19 deletions

View File

@@ -92,7 +92,7 @@ function BOT.new(P,data)
P:setHold(1)
end
local cc=cc or REQUIRE"CCloader"
local cc=REQUIRE"CCloader"
if not cc then
data.type=false
return BOT.new(P,data)