Add missing function

This commit is contained in:
Nate Bowman
2026-11-06 19:08:39 -05:00
parent 1f19740355
commit 9e45d182b0

View File

@@ -65,6 +65,10 @@ class World():
self.gather.spend_resources(cost) self.gather.spend_resources(cost)
def has_building(self, building):
return building in self.buildings
def _remove_event_at_time(self, removed_event, scheduled_time): def _remove_event_at_time(self, removed_event, scheduled_time):
if not scheduled_time: if not scheduled_time:
return return