4
4
mirror of https://github.com/H-uru/korman.git synced 2025-07-14 22:36:52 +00:00

Fix troll error message

This commit is contained in:
2015-07-18 14:41:29 -04:00
parent 75e2651cda
commit d1e51562e9

View File

@ -55,7 +55,7 @@ class PlasmaSittingBehavior(PlasmaModifierProperties, PlasmaModifierLogicWiz):
# The user absolutely MUST specify a clickable or this won't export worth crap. # The user absolutely MUST specify a clickable or this won't export worth crap.
clickable_obj = bpy.data.objects.get(self.clickable_obj, None) clickable_obj = bpy.data.objects.get(self.clickable_obj, None)
if clickable_obj is None: if clickable_obj is None:
raise ExportError("'{}': Sitting Behavior's clickable object is invalid") raise ExportError("'{}': Sitting Behavior's clickable object is invalid".format(self.key_name))
# Generate the logic nodes now # Generate the logic nodes now
self.logicwiz(bo) self.logicwiz(bo)