Partially revert #7ca17b7 (Breaks dev debug)

This commit is contained in:
LoafyLemon 2024-04-02 16:21:13 +01:00
parent 9aff807593
commit 61da56b6c8

View File

@ -156,8 +156,8 @@ init -1 python:
if config.developer:
def __setattr__(self, attr, value):
if getattr(self, attr, not value) != value:
id = self.id
if hasattr(self, attr) and getattr(self, attr) != value:
id = getattr(self, "id")
rollback = f"{stdcol.UNDERLINE}(Rollback){stdcol.END} " if renpy.in_rollback() else ""
caller_id = renpy.get_filename_line()