forked from github/server
Make sure static data expires.
This commit is contained in:
parent
03fd39ac63
commit
279fa623d9
|
@ -124,8 +124,11 @@ boolean nomonsters = false;
|
|||
static int
|
||||
RemoveNMRNewbie(void) {
|
||||
static int value = -1;
|
||||
if (value<0) {
|
||||
static int gamecookie = -1;
|
||||
|
||||
if (value<0 || gamecookie!=global.cookie) {
|
||||
value = get_param_int(global.parameters, "nmr.removenewbie", 0);
|
||||
gamecookie = global.cookie;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue