[Bug Fix] Fix quest::updatespawntimer() Perl croak. (#1947)

This commit is contained in:
Kinglykrab 2022-01-26 15:57:18 -05:00 committed by GitHub
parent e4f2aec11e
commit 5a7ee28740
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3051,7 +3051,7 @@ XS(XS__UpdateSpawnTimer);
XS(XS__UpdateSpawnTimer) {
dXSARGS;
if (items != 2)
Perl_croak(aTHX_ "Usage: quest::UpdateSpawnTimer(uint32 spawn2_id, uint32 updated_time_till_repop)");
Perl_croak(aTHX_ "Usage: quest::updatespawntimer(uint32 spawn2_id, uint32 updated_time_till_repop)");
uint32 spawn2_id = (int) SvIV(ST(0));
uint32 updated_time_till_repop = (int) SvIV(ST(1));