mirror of
https://github.com/Adorable-Catgirl/Zorya-NEO.git
synced 2024-12-25 10:28:05 +11:00
9 lines
171 B
Lua
9 lines
171 B
Lua
|
local thd = krequire("thd")
|
||
|
local threads = thd.get_threads()
|
||
|
local n = ...
|
||
|
for i=1, #threads do
|
||
|
if (threads[i][1] == n) then
|
||
|
thd.kill(i)
|
||
|
print("killed "..n)
|
||
|
end
|
||
|
end
|