adonutwithsprinklez / CodenameEmpty

A text based adventure roguelite
GNU General Public License v3.0
6 stars 0 forks source link

Data Pack Editor does not save modifiers on weapons #130

Closed adonutwithsprinklez closed 1 year ago

adonutwithsprinklez commented 1 year ago

It appears that the Data Pack Editor is not saving any modifiers to weapons.

Error Log:

Exception in Tkinter callback
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/tkinter/__init__.py", line 1921, in __call__
    return self.func(*args)
  File "/Users/nicolashomsher/Documents/codenameEmptyRepo/CodeNameEmpty/src/dataPackEditor.py", line 1300, in saveWeapon
    if (self.wepModChance.get.strip()):
AttributeError: 'function' object has no attribute 'strip'
adonutwithsprinklez commented 1 year ago

Addressed in #132