added dirty to move + improved syntax
This commit is contained in:
@ -8,6 +8,7 @@ Image.MAX_IMAGE_PIXELS = 200000000
|
||||
MAP_SIZE = 1024
|
||||
DEFAULT_PATH = os.path.join(platformdirs.user_cache_dir(appname="lycacraft-paths", appauthor="Lycacraft"), "maps")
|
||||
|
||||
|
||||
def clamp(mn, value, mx):
|
||||
return max(mn, min(mx, value))
|
||||
|
||||
|
Reference in New Issue
Block a user