@ -789,7 +789,7 @@ class MTChunks:
is_render_needed = False
#if not self.is_chunk_fresh(chunk_luid) :
if not self . is_chunk_fresh ( chunk_luid ) :
if is_player_in_this_chunk :
if self . is_chunk_yaml_marked ( chunk_luid ) :
if self . is_chunk_yaml_marked_empty ( chunk_luid ) :
@ -819,9 +819,9 @@ class MTChunks:
else :
if self . is_verbose :
print ( chunk_luid + " : SKIPPING nonfresh previously marked (simple check since has no player) " )
#else :
# if self.is_verbose :
# print (chunk_luid+": SKIPPING fresh chunk" )
else :
if self . is_verbose :
print ( chunk_luid + " : SKIPPING fresh chunk " )
#if (not self.is_chunk_yaml_marked(chunk_luid)):
#is_render_needed = True
@ -1136,6 +1136,13 @@ class MTChunks:
print ( " ERROR: expected >=1 seconds for refresh_players_seconds (int or float) " )
else :
print ( " ERROR: expected int for " + this_key )
elif this_key == " recheck_rendered " :
if type ( signals [ this_key ] ) is bool :
if signals [ this_key ] :
for chunk_luid in self . chunks . keys ( ) :
self . chunks [ chunk_luid ] . is_fresh = False
else :
print ( " ERROR: expected bool for " + this_key )
elif this_key == " refresh_map_enable " :
if type ( signals [ this_key ] ) is bool :
self . refresh_map_enable = signals [ this_key ]