This commit is contained in:
2025-10-08 23:06:39 -05:00
parent fef31b9102
commit c31bcf7f6a
7 changed files with 37 additions and 17 deletions

View File

@@ -7,6 +7,7 @@
#include "rpg.h"
#include "entity/entity.h"
#include "time/time.h"
errorret_t rpgInit(void) {
// TEST
@@ -20,6 +21,8 @@ errorret_t rpgInit(void) {
}
void rpgUpdate(void) {
if(!TIME.fixedUpdate) return;
entity_t *ent = &ENTITIES[0];
do {
if(ent->type == ENTITY_TYPE_NULL) continue;