disable lua server diagnostics in twnapi.lua

This commit is contained in:
Lera Elvoé 2025-02-14 20:41:14 +03:00 committed by yagi
parent cc4f7f7417
commit 2616549f88

View File

@ -29,6 +29,7 @@ def to_lua_type_annot(typedesc):
return "unknown"
# raise BaseException("Unhandled type for annotation: %s" % typedesc)
print("---@diagnostic disable")
print("error(\"townengine lua api file is not supposed to be imported!\")")
type_annotations = {}