You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
[HTML5] Fix "initial_memory" build option parsing
This commit is contained in:
@@ -51,6 +51,9 @@ def get_flags():
|
|||||||
|
|
||||||
def configure(env):
|
def configure(env):
|
||||||
if not isinstance(env["initial_memory"], int):
|
if not isinstance(env["initial_memory"], int):
|
||||||
|
try:
|
||||||
|
env["initial_memory"] = int(env["initial_memory"])
|
||||||
|
except:
|
||||||
print("Initial memory must be a valid integer")
|
print("Initial memory must be a valid integer")
|
||||||
sys.exit(255)
|
sys.exit(255)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user