mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Adventure mode colouring now controlled by a CSS class
So that we can just toggle the class instead of having aiserver.py send back the entire story.
This commit is contained in:
@@ -615,6 +615,11 @@ function setmodevisibility(state) {
|
||||
|
||||
function setadventure(state) {
|
||||
adventure = state;
|
||||
if(state) {
|
||||
game_text.addClass("adventure");
|
||||
} else {
|
||||
game_text.removeClass("adventure");
|
||||
}
|
||||
if(!memorymode){
|
||||
setmodevisibility(state);
|
||||
}
|
||||
|
Reference in New Issue
Block a user