From 95836e0dfa4bafa631948827acc3ddd2c83b2227 Mon Sep 17 00:00:00 2001 From: _ <_> Date: Thu, 17 May 2018 16:46:13 -0700 Subject: [PATCH] Fixed unupdated name --- bindings/py3devil1tex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/py3devil1tex.py b/bindings/py3devil1tex.py index 6125cdd..1e77a24 100644 --- a/bindings/py3devil1tex.py +++ b/bindings/py3devil1tex.py @@ -135,7 +135,7 @@ class pyTextureBatch: if filedata: self.cstruct.batch = None tbd = pyTextureBatchDescriptor(i, filedata) - self.amount = tbd.gettexno() + self.amount = tbd.gettexnumber() memsize = self.amount * tbd.gettexturesize() self.cstruct.batch = ctypes.cast( ctypes.create_string_buffer(memsize),