idea i wrote
This commit is contained in:
6
game.py
6
game.py
@@ -79,6 +79,12 @@ class Game:
|
||||
self.game_loop()
|
||||
|
||||
def game_loop(self):
|
||||
if os.path.exists(
|
||||
"admin_handle.py"
|
||||
): # TODO: make this for specific uuids, like a thing to handle stuff for specific uuids, like give money, but make sure to remove the thing after, and maybe a admin_panel.py to configure a json which admin_handle.py also reads for stuff. i gtg.
|
||||
import admin_handle # type: ignore
|
||||
|
||||
admin_handle.handle(self.cat)
|
||||
self.cat.apply_decay()
|
||||
self.cat.last_login = time.time()
|
||||
ui.current_cat = self.cat
|
||||
|
||||
Reference in New Issue
Block a user