Skip to content

Commit

Permalink
Update cChar.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonSlayer62 committed Mar 21, 2024
1 parent 2c1226d commit 1bbd155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/cChar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ bool CChar::SetHunger( SI08 newValue )
{
cScript *toExecute = JSMapping->GetScript( i );
if( toExecute != nullptr )
{
{
// If script returns false/0/nothing, prevent hunger from changing, and prevent
// other scripts with event from running
if( toExecute->OnHungerChange(( this ), hunger ) == 0 )
Expand Down

0 comments on commit 1bbd155

Please sign in to comment.