Reduce memory
* Reduced memory footprint by excluding DollCloth and DollOutfit instances from directly participating in rollback unless reachable through renpy scope
This commit is contained in:
parent
8d1a8b4ffa
commit
48874a546a
@ -1,5 +1,5 @@
|
||||
init python:
|
||||
class DollCloth(DollMethods):
|
||||
class DollCloth(DollMethods, SlottedNoRollback):
|
||||
layer_types = {
|
||||
"mask": "-1",
|
||||
"skin": 10,
|
||||
|
@ -1,5 +1,5 @@
|
||||
init python:
|
||||
class DollOutfit(DollMethods):
|
||||
class DollOutfit(DollMethods, SlottedNoRollback):
|
||||
default_schedule = {"day": False, "night": False, "cloudy": False, "rainy": False, "snowy": False}
|
||||
|
||||
def __init__(self, group, unlocked=False, name="", desc="", price=0, temp=False, schedule={}, hidden=False, addons=[]):
|
||||
|
Loading…
Reference in New Issue
Block a user