guard ms from empty arguments

This commit is contained in:
simio 2026-03-22 11:29:40 -03:00
parent 6a5788d31d
commit 1aa946aba4

View File

@ -3787,6 +3787,7 @@ class GUI(QtGui.QWidget):
ao2Duration = ini.read_ini_int(BASE_PATH + "characters/" + fChar + "/char.ini", "time", fPreanim, -1)
textDelay = ini.read_ini_int(BASE_PATH + "characters/" + fChar + "/char.ini", "textdelay", fPreanim, -1)
if not self.mChatMessage[SFX_DELAY]: self.mChatMessage[SFX_DELAY] = 0
sfxDelay = int(self.mChatMessage[SFX_DELAY]) * 60
if sfxDelay > 0: