Add exit function

This commit is contained in:
Tanner Collin 2021-03-09 10:29:09 +00:00
parent f35c7a4e51
commit e642e426b9

View File

@ -852,6 +852,11 @@ class Game:
data = data.replace('^', '.')
reply = str(eval(data))
if command == 'exit':
import os
os._exit(0)
except BaseException as e:
import traceback