Add isEntertainer method to Staff class, small cleanup

This commit is contained in:
matheusvb3 authored and GitHub committed 2025-09-15 23:00:13 +02:00
1 parent 99065960f2
commit 2ad4d4be72
8 files changed
+17 -13

No files matched your search

@@ -525,7 +525,7 @@ static void ConsoleCommandStaff(InteractiveConsole& console, const arguments_t&
console.WriteLineError("Invalid staff ID");
return;
}
if (staff->AssignedStaffType != StaffType::Entertainer)
if (!staff->isEntertainer())
{
console.WriteLineError("Specified staff is not entertainer");
return;