Merge pull request #8368 from Stexinator/Shadowrun5thA_fixSafeguard
[Shadowrun 5th Advanced] fix safeguard
This commit is contained in:
@@ -9750,7 +9750,7 @@ on("sheet:opened", function() {
|
||||
}
|
||||
values.warningcheckbox=0;
|
||||
values.chummercheckbox=0;
|
||||
values.chummertext="In Chummer make sure to mark your character as created\nwith a created character go to File->Export->Export JSON\ncopy the file and past it into this textfield overriding this text\nclick import and accept";
|
||||
values.chummertext="In Chummer make sure to mark your character as created\nwith a created character go to File->Export->Export JSON\ncopy the file and past it into this textfield overriding this text\nclick import and accept\nWhen using Chummer 5.213.95 or later the import is language independet";
|
||||
setAttrs(values);
|
||||
});
|
||||
});
|
||||
@@ -10523,7 +10523,7 @@ on("change:chummercheckbox", function(){
|
||||
var spellcasting=0;
|
||||
var ritual=0;
|
||||
try{
|
||||
if(!!attr_expImport && !!chummerfile.characters.character.skills.skill[0].name_english) {
|
||||
if(chummerfile.characters.character.skills.skill[0].name_english !== undefined) {
|
||||
for(var i=0;i<chummerfile.characters.character.skills.skill.length;i++){
|
||||
if(chummerfile.characters.character.skills.skill[i].name_english=="Alchemy"){
|
||||
alchemy=i;
|
||||
|
||||
Reference in New Issue
Block a user