mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Unsave game on wi image change
This commit is contained in:
@@ -8826,6 +8826,7 @@ def UI_2_set_wi_image(uid):
|
|||||||
else:
|
else:
|
||||||
# Otherwise assign image
|
# Otherwise assign image
|
||||||
koboldai_vars.worldinfo_v2.image_store[uid] = data
|
koboldai_vars.worldinfo_v2.image_store[uid] = data
|
||||||
|
koboldai_vars.gamesaved = False
|
||||||
return ":)"
|
return ":)"
|
||||||
|
|
||||||
@app.route("/get_wi_image/<int(signed=True):uid>", methods=["GET"])
|
@app.route("/get_wi_image/<int(signed=True):uid>", methods=["GET"])
|
||||||
|
Reference in New Issue
Block a user