Need help with compiling error

Users who are viewing this thread

Yagababa

Regular
When I'm compiling my mod, I get this error. I'm not really sure how I broke it because I haven't done anything with triggers at this point. Any insight would be greatly appreciated!

File "process_items.py", line 72, in <module>
write_items(variables,variable_uses,tag_uses,quick_strings)
File "process_items.py", line 55, in write_items
save_simple_triggers(ofile,trigger_list, variable_list,variable_uses,tag_uses,quick_strings)
File "C:\Users\18603\Desktop\Games\M&B Module System\Oathwatch Module System\process_operations.py", line 468, in save_simple_triggers
ofile.write("%d\n"%len(triggers))
TypeError: object of type 'int' has no len()

I found this thread which looks similar, but I'm not sure where to look for a syntax error: https://forums.taleworlds.com/index.php?threads/compiling-error.439781/
 
Upvote 1
Solution
Back
Top Bottom