Fix WeatherList Bug
This commit is contained in:
parent
4846a617b9
commit
75a714824d
@ -1176,7 +1176,7 @@ default : [null,1]
|
||||
colour : this.soundColor
|
||||
if(Int_0<1 || Int_0>10) throw new Error('天气的强度等级, 在1-10之间');
|
||||
var code = '{"type": "setWeather", "name": "'+Weather_List_0+'", "level": '+Int_0+'},\n';
|
||||
if(Weather_List_0==='')code = '{"type": "setWeather"},\n';
|
||||
if(Weather_List_0===''||Weather_List_0==='null'||Weather_List_0==null)code = '{"type": "setWeather"},\n';
|
||||
return code;
|
||||
*/;
|
||||
|
||||
@ -1703,7 +1703,7 @@ Arithmetic_List
|
||||
|
||||
Weather_List
|
||||
: '无'|'雨'|'雪'|'雾'
|
||||
/*Weather_List ['','rain','snow','fog']*/;
|
||||
/*Weather_List ['null','rain','snow','fog']*/;
|
||||
|
||||
B_0_List
|
||||
: '不改变'|'不可通行'|'可以通行'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user