mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Fix divide by zero in pck_packer
This commit is contained in:
@@ -43,8 +43,8 @@
|
||||
<method name="pck_start">
|
||||
<return type="int" enum="Error" />
|
||||
<argument index="0" name="pck_name" type="String" />
|
||||
<argument index="1" name="alignment" type="int" default="0" />
|
||||
<argument index="2" name="key" type="String" default="""" />
|
||||
<argument index="1" name="alignment" type="int" default="32" />
|
||||
<argument index="2" name="key" type="String" default=""0000000000000000000000000000000000000000000000000000000000000000"" />
|
||||
<argument index="3" name="encrypt_directory" type="bool" default="false" />
|
||||
<description>
|
||||
Creates a new PCK file with the name [code]pck_name[/code]. The [code].pck[/code] file extension isn't added automatically, so it should be part of [code]pck_name[/code] (even though it's not required).
|
||||
|
||||
Reference in New Issue
Block a user